Recognised as Colour
#0504DF
- #0504DF
- Blue
- Dark
- Nearest: Medium blue
#0504DF is a blue with RGB values 5, 4, 223 and HSL 240°, 96%, 45%. It is a dark colour, so white text on it reaches 10.1:1 contrast (AAA for normal text). The nearest named colour is Medium blue.
Colour values
#0504DF#0504DF
HEX#0504DF
RGBrgb(5, 4, 223)
RGB (0–1)0.0196, 0.0157, 0.8745
RGB percentages2%, 1.6%, 87.5%
HSLhsl(240.3, 96.5%, 44.5%)
HSV / HSBhsv(240.3, 98.2%, 87.5%)
CMYK97.8%, 98.2%, 0%, 12.5%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer328,927
CSS custom property--colour: #0504DF;
Brightness & contrast
Relative luminance0.05447WCAG 2.x, 0 is black and 1 is white
Perceived brightness75.4 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 10.05:1
Contrast with white10.05:1WCAG normal text: AAA
Contrast with black2.09:1WCAG normal text: Fail
Greyscale equivalent#141414
Inverted#FAFB20
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text10.05:1WCAG large text: AAA
Contrast with black, large text2.09:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#DEDF04
Analogous#0471DF, #7304DF
Triadic#DF0504, #04DF05
Split complementary#DF7204, #71DF04
Tetradic#DF0470, #DEDF04, #04DF72
Tints, shades & saturation
Channel breakdown
R5
G4
B223
Red5 (2%)
Green4 (1.6%)
Blue223 (87.5%)
Hue240.27°
Saturation (HSL)96.48%
Lightness44.51%
Dominant channelBlue
Hex per channelR 05 · G 04 · B DF
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Harmonies
Similar named colours
Nerdulate something else
Nothing in mind? Surprise me · today’s page