Nerdulator> put something in

Recognised as Colour

#0C228F

  • #0C228F
  • Blue
  • Dark
  • Nearest: Midnight blue

#0C228F is a blue with RGB values 12, 34, 143 and HSL 230°, 85%, 30%. It is a dark colour, so white text on it reaches 12.8:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#0C228F#0C228F
HEX#0C228F
RGBrgb(12, 34, 143)
RGB (0–1)0.0471, 0.1333, 0.5608
RGB percentages4.7%, 13.3%, 56.1%
HSLhsl(229.9, 84.5%, 30.4%)
HSV / HSBhsv(229.9, 91.6%, 56.1%)
CMYK91.6%, 76.2%, 0%, 43.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer795,279
CSS custom property--colour: #0C228F;

Brightness & contrast

Relative luminance0.03205WCAG 2.x, 0 is black and 1 is white
Perceived brightness55.3 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.8:1
Contrast with white12.8:1WCAG normal text: AAA
Contrast with black1.64:1WCAG normal text: Fail
Greyscale equivalent#252525
Inverted#F3DD70

Colour vision & accessibility

Protanopia#003992no red cones; affects about 1% of men; ΔE 17.8 from the original
Deuteranopia#002C8Dno green cones; the most common form, about 1% of men; ΔE 9.2 from the original
Tritanopia#004257no blue cones; rare, and affects men and women equally; ΔE 63.8 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text12.8:1WCAG large text: AAA
Contrast with black, large text1.64:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#8F790C
Analogous#0C638F, #380C8F
Triadic#8F0C22, #228F0C
Split complementary#8F380C, #638F0C
Tetradic#8F0C63, #8F790C, #0C8F38

Tints, shades & saturation

Lighter +40%#7489F3
Lighter +30%#4561EF
Lighter +20%#1639EB
Lighter +10%#102DBE
Darker −10%#081760
Darker −20%#040C31
Darker −30%#000002
Darker −40%#000000
More saturated +25%#001A9B
Less saturated −25%#1F2F7C

Channel breakdown

R12
G34
B143
Red12 (4.7%)
Green34 (13.3%)
Blue143 (56.1%)
Hue229.92°
Saturation (HSL)84.52%
Lightness30.39%
Dominant channelBlue
Hex per channelR 0C · G 22 · B 8F

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