Nerdulator> put something in

Recognised as Colour

#040CCB

  • #040CCB
  • Blue
  • Dark
  • Nearest: Medium blue

#040CCB is a blue with RGB values 4, 12, 203 and HSL 238°, 96%, 41%. It is a dark colour, so white text on it reaches 10.9:1 contrast (AAA for normal text). The nearest named colour is Medium blue.

Colour values

#040CCB#040CCB
HEX#040CCB
RGBrgb(4, 12, 203)
RGB (0–1)0.0157, 0.0471, 0.7961
RGB percentages1.6%, 4.7%, 79.6%
HSLhsl(237.6, 96.1%, 40.6%)
HSV / HSBhsv(237.6, 98%, 79.6%)
CMYK98%, 94.1%, 0%, 20.4%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer265,419
CSS custom property--colour: #040CCB;

Brightness & contrast

Relative luminance0.04601WCAG 2.x, 0 is black and 1 is white
Perceived brightness69.2 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 10.94:1
Contrast with white10.94:1WCAG normal text: AAA
Contrast with black1.92:1WCAG normal text: Fail
Greyscale equivalent#181818
Inverted#FBF334

Colour vision & accessibility

Protanopia#0047D0no red cones; affects about 1% of men; ΔE 32.5 from the original
Deuteranopia#0031C8no green cones; the most common form, about 1% of men; ΔE 19.6 from the original
Tritanopia#005577no blue cones; rare, and affects men and women equally; ΔE 97.2 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text10.94:1WCAG large text: AAA
Contrast with black, large text1.92:1WCAG large text: Fail

Named colours

Nearest named CSS colourMedium blue (#0000CD)ΔE 3.72, a close match
Hue familyblue
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#CBC304
Analogous#0470CB, #5F04CB
Triadic#CB040C, #0CCB04
Split complementary#CB5F04, #70CB04
Tetradic#CB0470, #CBC304, #04CB5F

Tints, shades & saturation

Lighter +40%#9EA2FD
Lighter +30%#6C72FC
Lighter +20%#3A42FB
Lighter +10%#0812FA
Darker −10%#030999
Darker −20%#020667
Darker −30%#010335
Darker −40%#000003
More saturated +25%#0008CF
Less saturated −25%#1E24B1

Channel breakdown

R4
G12
B203
Red4 (1.6%)
Green12 (4.7%)
Blue203 (79.6%)
Hue237.59°
Saturation (HSL)96.14%
Lightness40.59%
Dominant channelBlue
Hex per channelR 04 · G 0C · B CB

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