#0C1647#0C1647

#0C1647 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.9% C 0.092 H 268.9°. Best body text is #FFFFFF at 17.19:1 contrast (WCAG AA passes).

Color values

HEX#0C1647
RGBrgb(12, 22, 71)
HSLhsl(230, 71%, 16%)
HSVhsv(230, 83%, 28%)
CMYKcmyk(83.1%, 69%, 0%, 72.2%)
CIE-LABlab(9.85, 16.06, -31.92)
CIE-LCHlch(9.85, 35.73, 296.71°)
OKLaboklab(22.91% -0.0018 -0.0922)
OKLCHoklch(22.91% 0.092 268.9)
XYZxyz(1.5755, 1.1067, 6.0906)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C1647 #473D0C
analogous
#0C3447 #0C1647 #200C47
triadic
#0C1647 #470C16 #16470C
tetradic
#0C1647 #470C34 #473D0C #0C4720
square
#0C1647 #470C34 #473D0C #0C4720
split-complementary
#0C1647 #47200C #34470C
monochromatic
#04081A #04081A #0C1647 #15267B #1E36B0

Accessibility & contrast

On white

17.19
#0C1647 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#0C1647 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C1647
17.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C1647#FFFFFF#000000##FFFFFF
##0C16471.0017.191.2217.19
#FFFFFF17.191.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E49
Deuteranopia (green-blind)
#001846
Tritanopia (blue-blind)
#00232C
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #0c1647;
/* rgb */ color: rgb(12, 22, 71);
/* oklch */ color: oklch(22.9% 0.092 268.9);
Tailwind
colors: {
  custom: {
    50: '#56527b',
    500: '#0c1647',
    950: '#000000',
  },
}
SCSS
$custom: #0c1647;
$custom-light: #56527b;
$custom-dark: #000000;
JSON
{
  "hex": "#0c1647",
  "rgb": {
    "r": 12,
    "g": 22,
    "b": 71
  },
  "hsl": {
    "h": 229.831,
    "s": 71.084,
    "l": 16.275
  },
  "oklch": {
    "l": 0.2291,
    "c": 0.09225,
    "h": 268.9
  },
  "luminance": 0.01107
}

Semantic roles & 50–950 ramp

primary
#0C1647
secondary
#83742C
accent
#CF3AEE
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#030209
muted
#78787B

Preview Lab

Preview with #0C1647

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

Preview Lab → · Contrast checker → · Palette generator →

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