#0C144A#0C144A

#0C144A is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.8% C 0.100 H 269.7°. Best body text is #FFFFFF at 17.29:1 contrast (WCAG AA passes).

Color values

HEX#0C144A
RGBrgb(12, 20, 74)
HSLhsl(232, 72%, 17%)
HSVhsv(232, 84%, 29%)
CMYKcmyk(83.8%, 73%, 0%, 71%)
CIE-LABlab(9.58, 18.86, -34.45)
CIE-LCHlch(9.58, 39.27, 298.70°)
OKLaboklab(22.81% -0.0005 -0.0997)
OKLCHoklch(22.81% 0.1 269.7)
XYZxyz(1.6374, 1.0727, 6.5980)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C144A #4A420C
analogous
#0C334A #0C144A #230C4A
triadic
#0C144A #4A0C14 #144A0C
tetradic
#0C144A #4A0C33 #4A420C #0C4A23
square
#0C144A #4A0C33 #4A420C #0C4A23
split-complementary
#0C144A #4A230C #334A0C
monochromatic
#04071A #04071A #0C144A #15227F #1D30B3

Accessibility & contrast

On white

17.29
#0C144A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C144A
17.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C144A#FFFFFF#000000##FFFFFF
##0C144A1.0017.291.2117.29
#FFFFFF17.291.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4C
Deuteranopia (green-blind)
#001849
Tritanopia (blue-blind)
#00222C
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #0c144a;
/* rgb */ color: rgb(12, 20, 74);
/* oklch */ color: oklch(22.8% 0.100 269.7);
Tailwind
colors: {
  custom: {
    50: '#57517d',
    500: '#0c144a',
    950: '#000000',
  },
}
SCSS
$custom: #0c144a;
$custom-light: #57517d;
$custom-dark: #000000;
JSON
{
  "hex": "#0c144a",
  "rgb": {
    "r": 12,
    "g": 20,
    "b": 74
  },
  "hsl": {
    "h": 232.258,
    "s": 72.093,
    "l": 16.863
  },
  "oklch": {
    "l": 0.22808,
    "c": 0.09966,
    "h": 269.7
  },
  "luminance": 0.01073
}

Semantic roles & 50–950 ramp

primary
#0C144A
secondary
#867A2C
accent
#D739EF
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #0C144A

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

Preview Lab → · Contrast checker → · Palette generator →

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