#0C144B#0C144B

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

Color values

HEX#0C144B
RGBrgb(12, 20, 75)
HSLhsl(232, 72%, 17%)
HSVhsv(232, 84%, 29%)
CMYKcmyk(84%, 73.3%, 0%, 70.6%)
CIE-LABlab(9.69, 19.28, -34.97)
CIE-LCHlch(9.69, 39.93, 298.88°)
OKLaboklab(22.92% -0.0006 -0.1012)
OKLCHoklch(22.92% 0.101 269.7)
XYZxyz(1.6713, 1.0863, 6.7768)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C144B #4B430C
analogous
#0C344B #0C144B #240C4B
triadic
#0C144B #4B0C14 #144B0C
tetradic
#0C144B #4B0C34 #4B430C #0C4B24
square
#0C144B #4B0C34 #4B430C #0C4B24
split-complementary
#0C144B #4B240C #344B0C
monochromatic
#04071A #04071A #0C144B #142280 #1D30B5

Accessibility & contrast

On white

17.25
#0C144B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C144B
17.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C144B#FFFFFF#000000##FFFFFF
##0C144B1.0017.251.2217.25
#FFFFFF17.251.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4D
Deuteranopia (green-blind)
#00184A
Tritanopia (blue-blind)
#00232D
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #0c144b;
/* rgb */ color: rgb(12, 20, 75);
/* oklch */ color: oklch(22.9% 0.101 269.7);
Tailwind
colors: {
  custom: {
    50: '#57517e',
    500: '#0c144b',
    950: '#000000',
  },
}
SCSS
$custom: #0c144b;
$custom-light: #57517e;
$custom-dark: #000000;
JSON
{
  "hex": "#0c144b",
  "rgb": {
    "r": 12,
    "g": 20,
    "b": 75
  },
  "hsl": {
    "h": 232.381,
    "s": 72.414,
    "l": 17.059
  },
  "oklch": {
    "l": 0.2292,
    "c": 0.10117,
    "h": 269.7
  },
  "luminance": 0.01086
}

Semantic roles & 50–950 ramp

primary
#0C144B
secondary
#877B2C
accent
#D839EF
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #0C144B

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

Preview Lab → · Contrast checker → · Palette generator →

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