#0C0437#0C0437

#0C0437 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 17.4% C 0.093 H 279.1°. Best body text is #FFFFFF at 19.30:1 contrast (WCAG AA passes).

Color values

HEX#0C0437
RGBrgb(12, 4, 55)
HSLhsl(249, 86%, 12%)
HSVhsv(249, 93%, 22%)
CMYKcmyk(78.2%, 92.7%, 0%, 78.4%)
CIE-LABlab(3.98, 19.04, -30.05)
CIE-LCHlch(3.98, 35.57, 302.36°)
OKLaboklab(17.44% 0.0147 -0.0916)
OKLCHoklch(17.44% 0.093 279.1)
XYZxyz(0.8844, 0.4408, 3.6522)
Luminance0.0044 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C0437 #2F3704
analogous
#041637 #0C0437 #260437
triadic
#0C0437 #370C04 #04370C
tetradic
#0C0437 #370416 #2F3704 #043726
square
#0C0437 #370416 #2F3704 #043726
split-complementary
#0C0437 #372604 #163704
monochromatic
#06021D #06021D #0C0437 #180870 #250CA9

Accessibility & contrast

On white

19.30
#0C0437 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#0C0437 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C0437
19.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C0437#FFFFFF#000000##FFFFFF
##0C04371.0019.301.0919.30
#FFFFFF19.301.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001038
Deuteranopia (green-blind)
#000C36
Tritanopia (blue-blind)
#00131D
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #0c0437;
/* rgb */ color: rgb(12, 4, 55);
/* oklch */ color: oklch(17.4% 0.093 279.1);
Tailwind
colors: {
  custom: {
    50: '#51476e',
    500: '#0c0437',
    950: '#000000',
  },
}
SCSS
$custom: #0c0437;
$custom-light: #51476e;
$custom-dark: #000000;
JSON
{
  "hex": "#0c0437",
  "rgb": {
    "r": 12,
    "g": 4,
    "b": 55
  },
  "hsl": {
    "h": 249.412,
    "s": 86.441,
    "l": 11.569
  },
  "oklch": {
    "l": 0.17442,
    "c": 0.09273,
    "h": 279.1
  },
  "luminance": 0.00441
}

Semantic roles & 50–950 ramp

primary
#0C0437
secondary
#6B791E
accent
#FD2BDC
background
#F4F4F6
surface
#E7E6EC
border
#C3C2C7
text
#020007
muted
#78777A

Preview Lab

Preview with #0C0437

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#0C0437 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva