Recognised as Colour
#0502D8
- #0502D8
- Blue
- Dark
- Nearest: Medium blue
#0502D8 is a blue with RGB values 5, 2, 216 and HSL 241°, 98%, 43%. It is a dark colour, so white text on it reaches 10.5:1 contrast (AAA for normal text). The nearest named colour is Medium blue.
Colour values
#0502D8#0502D8
HEX#0502D8
RGBrgb(5, 2, 216)
RGB (0–1)0.0196, 0.0078, 0.8471
RGB percentages2%, 0.8%, 84.7%
HSLhsl(240.8, 98.2%, 42.7%)
HSV / HSBhsv(240.8, 99.1%, 84.7%)
CMYK97.7%, 99.1%, 0%, 15.3%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer328,408
CSS custom property--colour: #0502D8;
Brightness & contrast
Relative luminance0.05034WCAG 2.x, 0 is black and 1 is white
Perceived brightness73 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 10.46:1
Contrast with white10.46:1WCAG normal text: AAA
Contrast with black2.01:1WCAG normal text: Fail
Greyscale equivalent#121212
Inverted#FAFD27
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text10.46:1WCAG large text: AAA
Contrast with black, large text2.01:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#D5D802
Analogous#026AD8, #7002D8
Triadic#D80502, #02D805
Split complementary#D87002, #6AD802
Tetradic#D8026A, #D5D802, #02D870
Tints, shades & saturation
Channel breakdown
R5
G2
B216
Red5 (2%)
Green2 (0.8%)
Blue216 (84.7%)
Hue240.84°
Saturation (HSL)98.17%
Lightness42.75%
Dominant channelBlue
Hex per channelR 05 · G 02 · B D8
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