#0C0436#0C0436

#0C0436 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 17.3% C 0.091 H 279.5°. Best body text is #FFFFFF at 19.33:1 contrast (WCAG AA passes).

Color values

HEX#0C0436
RGBrgb(12, 4, 54)
HSLhsl(250, 86%, 11%)
HSVhsv(250, 93%, 21%)
CMYKcmyk(77.8%, 92.6%, 0%, 78.8%)
CIE-LABlab(3.90, 18.46, -29.45)
CIE-LCHlch(3.90, 34.76, 302.08°)
OKLaboklab(17.31% 0.015 -0.0901)
OKLCHoklch(17.31% 0.091 279.5)
XYZxyz(0.8607, 0.4313, 3.5272)
Luminance0.0043 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C0436 #2E3604
analogous
#041536 #0C0436 #250436
triadic
#0C0436 #360C04 #04360C
tetradic
#0C0436 #360415 #2E3604 #043625
square
#0C0436 #360415 #2E3604 #043625
split-complementary
#0C0436 #362504 #153604
monochromatic
#06021C #06021C #0C0436 #19086F #250CA8

Accessibility & contrast

On white

19.33
#0C0436 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C0436
19.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C0436#FFFFFF#000000##FFFFFF
##0C04361.0019.331.0919.33
#FFFFFF19.331.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c0436;
/* rgb */ color: rgb(12, 4, 54);
/* oklch */ color: oklch(17.3% 0.091 279.5);
Tailwind
colors: {
  custom: {
    50: '#51476d',
    500: '#0c0436',
    950: '#000000',
  },
}
SCSS
$custom: #0c0436;
$custom-light: #51476d;
$custom-dark: #000000;
JSON
{
  "hex": "#0c0436",
  "rgb": {
    "r": 12,
    "g": 4,
    "b": 54
  },
  "hsl": {
    "h": 249.6,
    "s": 86.207,
    "l": 11.373
  },
  "oklch": {
    "l": 0.17307,
    "c": 0.09134,
    "h": 279.5
  },
  "luminance": 0.00431
}

Semantic roles & 50–950 ramp

primary
#0C0436
secondary
#6A781E
accent
#FC2BDB
background
#F4F4F6
surface
#E7E6EC
border
#C3C2C7
text
#020007
muted
#78777A

Preview Lab

Preview with #0C0436

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

Preview Lab → · Contrast checker → · Palette generator →

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