#0C143A#0C143A

#0C143A is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.1% C 0.074 H 269.9°. Best body text is #FFFFFF at 17.85:1 contrast (WCAG AA passes).

Color values

HEX#0C143A
RGBrgb(12, 20, 58)
HSLhsl(230, 66%, 14%)
HSVhsv(230, 79%, 23%)
CMYKcmyk(79.3%, 65.5%, 0%, 77.3%)
CIE-LABlab(7.98, 11.91, -25.75)
CIE-LCHlch(7.98, 28.37, 294.82°)
OKLaboklab(21.13% -0.0001 -0.0741)
OKLCHoklch(21.13% 0.074 269.9)
XYZxyz(1.1652, 0.8839, 4.1114)
Luminance0.0088 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C143A #3A320C
analogous
#0C2B3A #0C143A #1B0C3A
triadic
#0C143A #3A0C14 #143A0C
tetradic
#0C143A #3A0C2B #3A320C #0C3A1B
square
#0C143A #3A0C2B #3A320C #0C3A1B
split-complementary
#0C143A #3A1B0C #2B3A0C
monochromatic
#050919 #050919 #0C143A #16256D #21379F

Accessibility & contrast

On white

17.85
#0C143A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#0C143A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C143A
17.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C143A#FFFFFF#000000##FFFFFF
##0C143A1.0017.851.1817.85
#FFFFFF17.851.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3B
Deuteranopia (green-blind)
#001539
Tritanopia (blue-blind)
#001D24
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #0c143a;
/* rgb */ color: rgb(12, 20, 58);
/* oklch */ color: oklch(21.1% 0.074 269.9);
Tailwind
colors: {
  custom: {
    50: '#525170',
    500: '#0c143a',
    950: '#000000',
  },
}
SCSS
$custom: #0c143a;
$custom-light: #525170;
$custom-dark: #000000;
JSON
{
  "hex": "#0c143a",
  "rgb": {
    "r": 12,
    "g": 20,
    "b": 58
  },
  "hsl": {
    "h": 229.565,
    "s": 65.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.2113,
    "c": 0.07413,
    "h": 269.9
  },
  "luminance": 0.00884
}

Semantic roles & 50–950 ramp

primary
#0C143A
secondary
#76692C
accent
#CB3FE9
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #0C143A

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

Preview Lab → · Contrast checker → · Palette generator →

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