Nerdulator> put something in

Recognised as Colour

#12226C

  • #12226C
  • Blue
  • Dark
  • Nearest: Midnight blue

#12226C is a blue with RGB values 18, 34, 108 and HSL 229°, 71%, 25%. It is a dark colour, so white text on it reaches 14.3:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#12226C#12226C
HEX#12226C
RGBrgb(18, 34, 108)
RGB (0–1)0.0706, 0.1333, 0.4235
RGB percentages7.1%, 13.3%, 42.4%
HSLhsl(229.3, 71.4%, 24.7%)
HSV / HSBhsv(229.3, 83.3%, 42.4%)
CMYK83.3%, 68.5%, 0%, 57.6%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer1,188,460
CSS custom property--colour: #12226C;

Brightness & contrast

Relative luminance0.02355WCAG 2.x, 0 is black and 1 is white
Perceived brightness45.9 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 14.28:1
Contrast with white14.28:1WCAG normal text: AAA
Contrast with black1.47:1WCAG normal text: Fail
Greyscale equivalent#242424
Inverted#EDDD93

Colour vision & accessibility

Protanopia#002F6Eno red cones; affects about 1% of men; ΔE 11.5 from the original
Deuteranopia#00266Bno green cones; the most common form, about 1% of men; ΔE 5 from the original
Tritanopia#003643no blue cones; rare, and affects men and women equally; ΔE 47 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text14.28:1WCAG large text: AAA
Contrast with black, large text1.47:1WCAG large text: Fail

Named colours

Nearest named CSS colourMidnight blue (#191970)ΔE 9.69, clearly different but related
Hue familyblue
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#6C5C12
Analogous#124F6C, #2F126C
Triadic#6C1222, #226C12
Split complementary#6C2F12, #4F6C12
Tetradic#6C124F, #6C5C12, #126C2F

Tints, shades & saturation

Lighter +40%#657CE5
Lighter +30%#3956DE
Lighter +20%#213EC3
Lighter +10%#193098
Darker −10%#0B1440
Darker −20%#030615
Darker −30%#000000
Darker −40%#000000
More saturated +25%#02187C
Less saturated −25%#222C5C

Channel breakdown

R18
G34
B108
Red18 (7.1%)
Green34 (13.3%)
Blue108 (42.4%)
Hue229.33°
Saturation (HSL)71.43%
Lightness24.71%
Dominant channelBlue
Hex per channelR 12 · G 22 · B 6C

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