#0C144D#0C144D

#0C144D is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.1% C 0.104 H 269.6°. Best body text is #FFFFFF at 17.17:1 contrast (WCAG AA passes).

Color values

HEX#0C144D
RGBrgb(12, 20, 77)
HSLhsl(233, 73%, 17%)
HSVhsv(233, 84%, 30%)
CMYKcmyk(84.4%, 74%, 0%, 69.8%)
CIE-LABlab(9.91, 20.13, -35.99)
CIE-LCHlch(9.91, 41.24, 299.21°)
OKLaboklab(23.14% -0.0007 -0.1042)
OKLCHoklch(23.14% 0.104 269.6)
XYZxyz(1.7409, 1.1141, 7.1430)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C144D #4D450C
analogous
#0C354D #0C144D #240C4D
triadic
#0C144D #4D0C14 #144D0C
tetradic
#0C144D #4D0C35 #4D450C #0C4D24
square
#0C144D #4D0C35 #4D450C #0C4D24
split-complementary
#0C144D #4D240C #354D0C
monochromatic
#04071A #04071A #0C144D #142282 #1D30B7

Accessibility & contrast

On white

17.17
#0C144D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C144D
17.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C144D#FFFFFF#000000##FFFFFF
##0C144D1.0017.171.2217.17
#FFFFFF17.171.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4F
Deuteranopia (green-blind)
#00184C
Tritanopia (blue-blind)
#00232E
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #0c144d;
/* rgb */ color: rgb(12, 20, 77);
/* oklch */ color: oklch(23.1% 0.104 269.6);
Tailwind
colors: {
  custom: {
    50: '#58517f',
    500: '#0c144d',
    950: '#000000',
  },
}
SCSS
$custom: #0c144d;
$custom-light: #58517f;
$custom-dark: #000000;
JSON
{
  "hex": "#0c144d",
  "rgb": {
    "r": 12,
    "g": 20,
    "b": 77
  },
  "hsl": {
    "h": 232.615,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.23144,
    "c": 0.10417,
    "h": 269.6
  },
  "luminance": 0.01114
}

Semantic roles & 50–950 ramp

primary
#0C144D
secondary
#897D2C
accent
#D938F0
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #0C144D

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

Preview Lab → · Contrast checker → · Palette generator →

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