Nerdulator> put something in

Recognised as Colour

#031F8A

  • #031F8A
  • Blue
  • Dark
  • Nearest: Midnight blue

#031F8A is a blue with RGB values 3, 31, 138 and HSL 228°, 96%, 28%. It is a dark colour, so white text on it reaches 13.4:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#031F8A#031F8A
HEX#031F8A
RGBrgb(3, 31, 138)
RGB (0–1)0.0118, 0.1216, 0.5412
RGB percentages1.2%, 12.2%, 54.1%
HSLhsl(227.6, 95.7%, 27.6%)
HSV / HSBhsv(227.6, 97.8%, 54.1%)
CMYK97.8%, 77.5%, 0%, 45.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer204,682
CSS custom property--colour: #031F8A;

Brightness & contrast

Relative luminance0.02834WCAG 2.x, 0 is black and 1 is white
Perceived brightness52.3 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 13.4:1
Contrast with white13.4:1WCAG normal text: AAA
Contrast with black1.57:1WCAG normal text: Fail
Greyscale equivalent#212121
Inverted#FCE075

Colour vision & accessibility

Protanopia#00358Dno red cones; affects about 1% of men; ΔE 16.8 from the original
Deuteranopia#002888no green cones; the most common form, about 1% of men; ΔE 8.2 from the original
Tritanopia#003F53no blue cones; rare, and affects men and women equally; ΔE 63.4 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text13.4:1WCAG large text: AAA
Contrast with black, large text1.57:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#8A6E03
Analogous#03638A, #2B038A
Triadic#8A031F, #1F8A03
Split complementary#8A2A03, #638A03
Tetradic#8A0362, #8A6E03, #038A2A

Tints, shades & saturation

Lighter +40%#5E7EFB
Lighter +30%#2C56FA
Lighter +20%#0535EE
Lighter +10%#042ABC
Darker −10%#021458
Darker −20%#010926
Darker −30%#000000
Darker −40%#000000
More saturated +25%#001D8D
Less saturated −25%#152978

Channel breakdown

R3
G31
B138
Red3 (1.2%)
Green31 (12.2%)
Blue138 (54.1%)
Hue227.56°
Saturation (HSL)95.74%
Lightness27.65%
Dominant channelBlue
Hex per channelR 03 · G 1F · B 8A

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 “031f8a” by Nerdulator’s colour engine. Nothing here was retrieved from a database of answers or written by a model.