#0C144F#0C144F

#0C144F is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.4% C 0.107 H 269.5°. Best body text is #FFFFFF at 17.09:1 contrast (WCAG AA passes).

Color values

HEX#0C144F
RGBrgb(12, 20, 79)
HSLhsl(233, 74%, 18%)
HSVhsv(233, 85%, 31%)
CMYKcmyk(84.8%, 74.7%, 0%, 69%)
CIE-LABlab(10.13, 20.96, -37.01)
CIE-LCHlch(10.13, 42.53, 299.53°)
OKLaboklab(23.37% -0.0009 -0.1071)
OKLCHoklch(23.37% 0.107 269.5)
XYZxyz(1.8126, 1.1428, 7.5207)
Luminance0.0114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C144F #4F470C
analogous
#0C354F #0C144F #250C4F
triadic
#0C144F #4F0C14 #144F0C
tetradic
#0C144F #4F0C35 #4F470C #0C4F25
square
#0C144F #4F0C35 #4F470C #0C4F25
split-complementary
#0C144F #4F250C #354F0C
monochromatic
#04071B #04071B #0C144F #142184 #1C2FB9

Accessibility & contrast

On white

17.09
#0C144F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#0C144F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C144F
17.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C144F#FFFFFF#000000##FFFFFF
##0C144F1.0017.091.2317.09
#FFFFFF17.091.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F51
Deuteranopia (green-blind)
#00194E
Tritanopia (blue-blind)
#00242F
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #0c144f;
/* rgb */ color: rgb(12, 20, 79);
/* oklch */ color: oklch(23.4% 0.107 269.5);
Tailwind
colors: {
  custom: {
    50: '#585181',
    500: '#0c144f',
    950: '#000000',
  },
}
SCSS
$custom: #0c144f;
$custom-light: #585181;
$custom-dark: #000000;
JSON
{
  "hex": "#0c144f",
  "rgb": {
    "r": 12,
    "g": 20,
    "b": 79
  },
  "hsl": {
    "h": 232.836,
    "s": 73.626,
    "l": 17.843
  },
  "oklch": {
    "l": 0.23372,
    "c": 0.10714,
    "h": 269.5
  },
  "luminance": 0.01143
}

Semantic roles & 50–950 ramp

primary
#0C144F
secondary
#8B7F2C
accent
#DA38F0
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #0C144F

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

Preview Lab → · Contrast checker → · Palette generator →

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