Nerdulator> put something in

Recognised as Colour

#0C123D

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

#0C123D is a blue with RGB values 12, 18, 61 and HSL 233°, 67%, 14%. It is a dark colour, so white text on it reaches 18:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#0C123D#0C123D
HEX#0C123D
RGBrgb(12, 18, 61)
RGB (0–1)0.0471, 0.0706, 0.2392
RGB percentages4.7%, 7.1%, 23.9%
HSLhsl(232.7, 67.1%, 14.3%)
HSV / HSBhsv(232.7, 80.3%, 23.9%)
CMYK80.3%, 70.5%, 0%, 76.1%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer791,101
CSS custom property--colour: #0C123D;

Brightness & contrast

Relative luminance0.00848WCAG 2.x, 0 is black and 1 is white
Perceived brightness25.6 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 17.96:1
Contrast with white17.96:1WCAG normal text: AAA
Contrast with black1.17:1WCAG normal text: Fail
Greyscale equivalent#141414
Inverted#F3EDC2

Colour vision & accessibility

Protanopia#00193Eno red cones; affects about 1% of men; ΔE 7.5 from the original
Deuteranopia#00153Cno green cones; the most common form, about 1% of men; ΔE 4.9 from the original
Tritanopia#001D25no blue cones; rare, and affects men and women equally; ΔE 29.8 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text17.96:1WCAG large text: AAA
Contrast with black, large text1.17:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#3D370C
Analogous#0C2B3D, #1E0C3D
Triadic#3D0C12, #123D0C
Split complementary#3D1E0C, #2B3D0C
Tetradic#3D0C2B, #3D370C, #0C3D1E

Tints, shades & saturation

Lighter +40%#3C4FD9
Lighter +30%#2538BD
Lighter +20%#1D2B92
Lighter +10%#141F68
Darker −10%#040512
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#030B46
Less saturated −25%#151934

Channel breakdown

R12
G18
B61
Red12 (4.7%)
Green18 (7.1%)
Blue61 (23.9%)
Hue232.65°
Saturation (HSL)67.12%
Lightness14.31%
Dominant channelBlue
Hex per channelR 0C · G 12 · B 3D

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