#0C1644#0C1644

#0C1644 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.6% C 0.087 H 268.8°. Best body text is #FFFFFF at 17.30:1 contrast (WCAG AA passes).

Color values

HEX#0C1644
RGBrgb(12, 22, 68)
HSLhsl(229, 70%, 16%)
HSVhsv(229, 82%, 27%)
CMYKcmyk(82.4%, 67.6%, 0%, 73.3%)
CIE-LABlab(9.56, 14.75, -30.30)
CIE-LCHlch(9.56, 33.70, 295.96°)
OKLaboklab(22.6% -0.0018 -0.0875)
OKLCHoklch(22.6% 0.088 268.8)
XYZxyz(1.4816, 1.0692, 5.5960)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C1644 #443A0C
analogous
#0C3244 #0C1644 #1E0C44
triadic
#0C1644 #440C16 #16440C
tetradic
#0C1644 #440C32 #443A0C #0C441E
square
#0C1644 #440C32 #443A0C #0C441E
split-complementary
#0C1644 #441E0C #32440C
monochromatic
#05081A #05081A #0C1644 #152778 #1E38AC

Accessibility & contrast

On white

17.30
#0C1644 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#0C1644 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C1644
17.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C1644#FFFFFF#000000##FFFFFF
##0C16441.0017.301.2117.30
#FFFFFF17.301.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D46
Deuteranopia (green-blind)
#001843
Tritanopia (blue-blind)
#00222A
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #0c1644;
/* rgb */ color: rgb(12, 22, 68);
/* oklch */ color: oklch(22.6% 0.087 268.8);
Tailwind
colors: {
  custom: {
    50: '#555278',
    500: '#0c1644',
    950: '#000000',
  },
}
SCSS
$custom: #0c1644;
$custom-light: #555278;
$custom-dark: #000000;
JSON
{
  "hex": "#0c1644",
  "rgb": {
    "r": 12,
    "g": 22,
    "b": 68
  },
  "hsl": {
    "h": 229.286,
    "s": 70,
    "l": 15.686
  },
  "oklch": {
    "l": 0.22599,
    "c": 0.0875,
    "h": 268.8
  },
  "luminance": 0.01069
}

Semantic roles & 50–950 ramp

primary
#0C1644
secondary
#80712C
accent
#CD3BED
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030209
muted
#78787B

Preview Lab

Preview with #0C1644

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

Preview Lab → · Contrast checker → · Palette generator →

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