#0C144E#0C144E

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

Color values

HEX#0C144E
RGBrgb(12, 20, 78)
HSLhsl(233, 73%, 18%)
HSVhsv(233, 85%, 31%)
CMYKcmyk(84.6%, 74.4%, 0%, 69.4%)
CIE-LABlab(10.02, 20.55, -36.50)
CIE-LCHlch(10.02, 41.89, 299.37°)
OKLaboklab(23.26% -0.0008 -0.1057)
OKLCHoklch(23.26% 0.106 269.5)
XYZxyz(1.7764, 1.1283, 7.3304)
Luminance0.0113 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C144E #4E460C
analogous
#0C354E #0C144E #250C4E
triadic
#0C144E #4E0C14 #144E0C
tetradic
#0C144E #4E0C35 #4E460C #0C4E25
square
#0C144E #4E0C35 #4E460C #0C4E25
split-complementary
#0C144E #4E250C #354E0C
monochromatic
#04071B #04071B #0C144E #142283 #1C2FB8

Accessibility & contrast

On white

17.13
#0C144E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C144E
17.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C144E#FFFFFF#000000##FFFFFF
##0C144E1.0017.131.2317.13
#FFFFFF17.131.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F50
Deuteranopia (green-blind)
#00184D
Tritanopia (blue-blind)
#00242F
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #0c144e;
/* rgb */ color: rgb(12, 20, 78);
/* oklch */ color: oklch(23.3% 0.106 269.5);
Tailwind
colors: {
  custom: {
    50: '#585180',
    500: '#0c144e',
    950: '#000000',
  },
}
SCSS
$custom: #0c144e;
$custom-light: #585180;
$custom-dark: #000000;
JSON
{
  "hex": "#0c144e",
  "rgb": {
    "r": 12,
    "g": 20,
    "b": 78
  },
  "hsl": {
    "h": 232.727,
    "s": 73.333,
    "l": 17.647
  },
  "oklch": {
    "l": 0.23258,
    "c": 0.10566,
    "h": 269.5
  },
  "luminance": 0.01129
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #0C144E

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

Preview Lab → · Contrast checker → · Palette generator →

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