Recognised as Colour
#0508D8
- #0508D8
- Blue
- Dark
- Nearest: Medium blue
#0508D8 is a blue with RGB values 5, 8, 216 and HSL 239°, 95%, 43%. It is a dark colour, so white text on it reaches 10.3:1 contrast (AAA for normal text). The nearest named colour is Medium blue.
Colour values
#0508D8#0508D8
HEX#0508D8
RGBrgb(5, 8, 216)
RGB (0–1)0.0196, 0.0314, 0.8471
RGB percentages2%, 3.1%, 84.7%
HSLhsl(239.1, 95.5%, 43.3%)
HSV / HSBhsv(239.1, 97.7%, 84.7%)
CMYK97.7%, 96.3%, 0%, 15.3%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer329,944
CSS custom property--colour: #0508D8;
Brightness & contrast
Relative luminance0.05164WCAG 2.x, 0 is black and 1 is white
Perceived brightness73.2 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 10.33:1
Contrast with white10.33:1WCAG normal text: AAA
Contrast with black2.03:1WCAG normal text: Fail
Greyscale equivalent#161616
Inverted#FAF727
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text10.33:1WCAG large text: AAA
Contrast with black, large text2.03:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#D8D505
Analogous#0571D8, #6C05D8
Triadic#D80508, #08D805
Split complementary#D86C05, #71D805
Tetradic#D80571, #D8D505, #05D86C
Tints, shades & saturation
Channel breakdown
R5
G8
B216
Red5 (2%)
Green8 (3.1%)
Blue216 (84.7%)
Hue239.15°
Saturation (HSL)95.48%
Lightness43.33%
Dominant channelBlue
Hex per channelR 05 · G 08 · 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