Recognised as Colour
#08197C
- #08197C
- Blue
- Dark
- Nearest: Midnight blue
#08197C is a blue with RGB values 8, 25, 124 and HSL 231°, 88%, 26%. It is a dark colour, so white text on it reaches 14.6:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#08197C#08197C
HEX#08197C
RGBrgb(8, 25, 124)
RGB (0–1)0.0314, 0.098, 0.4863
RGB percentages3.1%, 9.8%, 48.6%
HSLhsl(231.2, 87.9%, 25.9%)
HSV / HSBhsv(231.2, 93.5%, 48.6%)
CMYK93.5%, 79.8%, 0%, 51.4%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer530,812
CSS custom property--colour: #08197C;
Brightness & contrast
Relative luminance0.02202WCAG 2.x, 0 is black and 1 is white
Perceived brightness46.2 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 14.58:1
Contrast with white14.58:1WCAG normal text: AAA
Contrast with black1.44:1WCAG normal text: Fail
Greyscale equivalent#1D1D1D
Inverted#F7E683
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text14.58:1WCAG large text: AAA
Contrast with black, large text1.44:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#7C6B08
Analogous#08537C, #31087C
Triadic#7C0819, #197C08
Split complementary#7C3108, #537C08
Tetradic#7C0853, #7C6B08, #087C31
Tints, shades & saturation
Channel breakdown
R8
G25
B124
Red8 (3.1%)
Green25 (9.8%)
Blue124 (48.6%)
Hue231.21°
Saturation (HSL)87.88%
Lightness25.88%
Dominant channelBlue
Hex per channelR 08 · G 19 · B 7C
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Nerdulate something else
Nothing in mind? Surprise me · today’s page