#0C1344#0C1344

#0C1344 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 21.9% C 0.092 H 270.4°. Best body text is #FFFFFF at 17.61:1 contrast (WCAG AA passes).

Color values

HEX#0C1344
RGBrgb(12, 19, 68)
HSLhsl(233, 70%, 16%)
HSVhsv(233, 82%, 27%)
CMYKcmyk(82.4%, 72.1%, 0%, 73.3%)
CIE-LABlab(8.66, 17.06, -31.76)
CIE-LCHlch(8.66, 36.05, 298.24°)
OKLaboklab(21.94% 0.0007 -0.0918)
OKLCHoklch(21.94% 0.092 270.4)
XYZxyz(1.4275, 0.9611, 5.5780)
Luminance0.0096 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C1344 #443D0C
analogous
#0C2F44 #0C1344 #210C44
triadic
#0C1344 #440C13 #13440C
tetradic
#0C1344 #440C2F #443D0C #0C4421
square
#0C1344 #440C2F #443D0C #0C4421
split-complementary
#0C1344 #44210C #2F440C
monochromatic
#05071A #05071A #0C1344 #152278 #1E30AC

Accessibility & contrast

On white

17.61
#0C1344 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#0C1344 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C1344
17.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C1344#FFFFFF#000000##FFFFFF
##0C13441.0017.611.1917.61
#FFFFFF17.611.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B46
Deuteranopia (green-blind)
#001643
Tritanopia (blue-blind)
#002029
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #0c1344;
/* rgb */ color: rgb(12, 19, 68);
/* oklch */ color: oklch(21.9% 0.092 270.4);
Tailwind
colors: {
  custom: {
    50: '#555078',
    500: '#0c1344',
    950: '#000000',
  },
}
SCSS
$custom: #0c1344;
$custom-light: #555078;
$custom-dark: #000000;
JSON
{
  "hex": "#0c1344",
  "rgb": {
    "r": 12,
    "g": 19,
    "b": 68
  },
  "hsl": {
    "h": 232.5,
    "s": 70,
    "l": 15.686
  },
  "oklch": {
    "l": 0.2194,
    "c": 0.09179,
    "h": 270.4
  },
  "luminance": 0.00961
}

Semantic roles & 50–950 ramp

primary
#0C1344
secondary
#80752C
accent
#D73BED
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030209
muted
#78787B

Preview Lab

Preview with #0C1344

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

Preview Lab → · Contrast checker → · Palette generator →

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