Nerdulator> put something in

Recognised as Colour

#0C1F54

  • #0C1F54
  • Blue
  • Dark
  • Nearest: Dark slateblue

#0C1F54 is a blue with RGB values 12, 31, 84 and HSL 224°, 75%, 19%. It is a dark colour, so white text on it reaches 15.7:1 contrast (AAA for normal text). The nearest named colour is Dark slateblue.

Colour values

#0C1F54#0C1F54
HEX#0C1F54
RGBrgb(12, 31, 84)
RGB (0–1)0.0471, 0.1216, 0.3294
RGB percentages4.7%, 12.2%, 32.9%
HSLhsl(224.2, 75%, 18.8%)
HSV / HSBhsv(224.2, 85.7%, 32.9%)
CMYK85.7%, 63.1%, 0%, 67.1%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer794,452
CSS custom property--colour: #0C1F54;

Brightness & contrast

Relative luminance0.01698WCAG 2.x, 0 is black and 1 is white
Perceived brightness37.6 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 15.68:1
Contrast with white15.68:1WCAG normal text: AAA
Contrast with black1.34:1WCAG normal text: Fail
Greyscale equivalent#1F1F1F
Inverted#F3E0AB

Colour vision & accessibility

Protanopia#002756no red cones; affects about 1% of men; ΔE 7.3 from the original
Deuteranopia#002053no green cones; the most common form, about 1% of men; ΔE 2.6 from the original
Tritanopia#002C36no blue cones; rare, and affects men and women equally; ΔE 34.5 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text15.68:1WCAG large text: AAA
Contrast with black, large text1.34:1WCAG large text: Fail

Named colours

Nearest named CSS colourDark slateblue (#483D8B)ΔE 21.76, a distinctly different colour
Hue familyblue
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#54410C
Analogous#0C4354, #1D0C54
Triadic#540C1F, #1F540C
Split complementary#541D0C, #43540C
Tetradic#540C43, #54410C, #0C541D

Tints, shades & saturation

Lighter +40%#4771E5
Lighter +30%#1F50DA
Lighter +20%#1940AD
Lighter +10%#122F81
Darker −10%#060F27
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#001960
Less saturated −25%#182548

Channel breakdown

R12
G31
B84
Red12 (4.7%)
Green31 (12.2%)
Blue84 (32.9%)
Hue224.17°
Saturation (HSL)75%
Lightness18.82%
Dominant channelBlue
Hex per channelR 0C · G 1F · B 54

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