Nerdulator> put something in

Recognised as Colour

#08157E

  • #08157E
  • Blue
  • Dark
  • Nearest: Midnight blue

#08157E is a blue with RGB values 8, 21, 126 and HSL 233°, 88%, 26%. It is a dark colour, so white text on it reaches 14.8:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#08157E#08157E
HEX#08157E
RGBrgb(8, 21, 126)
RGB (0–1)0.0314, 0.0824, 0.4941
RGB percentages3.1%, 8.2%, 49.4%
HSLhsl(233.4, 88.1%, 26.3%)
HSV / HSBhsv(233.4, 93.7%, 49.4%)
CMYK93.7%, 83.3%, 0%, 50.6%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer529,790
CSS custom property--colour: #08157E;

Brightness & contrast

Relative luminance0.02094WCAG 2.x, 0 is black and 1 is white
Perceived brightness45.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 14.8:1
Contrast with white14.8:1WCAG normal text: AAA
Contrast with black1.42:1WCAG normal text: Fail
Greyscale equivalent#1A1A1A
Inverted#F7EA81

Colour vision & accessibility

Protanopia#002E81no red cones; affects about 1% of men; ΔE 18.6 from the original
Deuteranopia#00227Cno green cones; the most common form, about 1% of men; ΔE 10.9 from the original
Tritanopia#00374Ano blue cones; rare, and affects men and women equally; ΔE 62.9 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text14.8:1WCAG large text: AAA
Contrast with black, large text1.42:1WCAG large text: Fail

Named colours

Nearest named CSS colourMidnight blue (#191970)ΔE 10.86, a distinctly different colour
Hue familyblue
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#7E7108
Analogous#08507E, #36087E
Triadic#7E0815, #157E08
Split complementary#7E3608, #507E08
Tetradic#7E0850, #7E7108, #087E36

Tints, shades & saturation

Lighter +40%#5D6EF5
Lighter +30%#2D43F2
Lighter +20%#0E25DE
Lighter +10%#0B1DAE
Darker −10%#050D4E
Darker −20%#02051E
Darker −30%#000000
Darker −40%#000000
More saturated +25%#000F86
Less saturated −25%#19226D

Channel breakdown

R8
G21
B126
Red8 (3.1%)
Green21 (8.2%)
Blue126 (49.4%)
Hue233.39°
Saturation (HSL)88.06%
Lightness26.27%
Dominant channelBlue
Hex per channelR 08 · G 15 · B 7E

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

Every value on this page was computed from “08157e” by Nerdulator’s colour engine. Nothing here was retrieved from a database of answers or written by a model.