Nerdulator> put something in

Recognised as Colour

#1F40BA

  • #1F40BA
  • Blue
  • Dark
  • Nearest: Slate blue

#1F40BA is a blue with RGB values 31, 64, 186 and HSL 227°, 71%, 43%. It is a dark colour, so white text on it reaches 8.4:1 contrast (AAA for normal text). The nearest named colour is Slate blue.

Colour values

#1F40BA#1F40BA
HEX#1F40BA
RGBrgb(31, 64, 186)
RGB (0–1)0.1216, 0.251, 0.7294
RGB percentages12.2%, 25.1%, 72.9%
HSLhsl(227.2, 71.4%, 42.5%)
HSV / HSBhsv(227.2, 83.3%, 72.9%)
CMYK83.3%, 65.6%, 0%, 27.1%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,048,186
CSS custom property--colour: #1F40BA;

Brightness & contrast

Relative luminance0.07503WCAG 2.x, 0 is black and 1 is white
Perceived brightness81.5 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 8.4:1
Contrast with white8.4:1WCAG normal text: AAA
Contrast with black2.5:1WCAG normal text: Fail
Greyscale equivalent#424242
Inverted#E0BF45

Colour vision & accessibility

Protanopia#0055BEno red cones; affects about 1% of men; ΔE 16.1 from the original
Deuteranopia#0046B8no green cones; the most common form, about 1% of men; ΔE 6.7 from the original
Tritanopia#006177no blue cones; rare, and affects men and women equally; ΔE 69.7 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text8.4:1WCAG large text: AAA
Contrast with black, large text2.5:1WCAG large text: Fail

Named colours

Nearest named CSS colourSlate blue (#6A5ACD)ΔE 15.6, a distinctly different colour
Hue familyblue
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#BA991F
Analogous#1F8DBA, #4C1FBA
Triadic#BA1F40, #40BA1F
Split complementary#BA4C1F, #8DBA1F
Tetradic#BA1F8E, #BA991F, #1FBA4C

Tints, shades & saturation

Lighter +40%#B3C0F2
Lighter +30%#879CEB
Lighter +20%#5B78E4
Lighter +10%#3054DC
Darker −10%#18318E
Darker −20%#102263
Darker −30%#091337
Darker −40%#02040B
More saturated +25%#0430D5
Less saturated −25%#3A509F

Channel breakdown

R31
G64
B186
Red31 (12.2%)
Green64 (25.1%)
Blue186 (72.9%)
Hue227.23°
Saturation (HSL)71.43%
Lightness42.55%
Dominant channelBlue
Hex per channelR 1F · G 40 · B BA

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