#0C192F#0C192F

#0C192F is a very dark, muted blue. Relative luminance 0.010; OKLCH L 21.5% C 0.047 H 260.3°. Best body text is #FFFFFF at 17.56:1 contrast (WCAG AA passes).

Color values

HEX#0C192F
RGBrgb(12, 25, 47)
HSLhsl(218, 59%, 12%)
HSVhsv(218, 74%, 18%)
CMYKcmyk(74.5%, 46.8%, 0%, 81.6%)
CIE-LABlab(8.81, 3.06, -16.42)
CIE-LCHlch(8.81, 16.71, 280.54°)
OKLaboklab(21.48% -0.0079 -0.0466)
OKLCHoklch(21.48% 0.047 260.3)
XYZxyz(1.0122, 0.9786, 2.8243)
Luminance0.0098 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C192F #2F220C
analogous
#0C2B2F #0C192F #110C2F
triadic
#0C192F #2F0C19 #192F0C
tetradic
#0C192F #2F0C2B #2F220C #0C2F11
square
#0C192F #2F0C2B #2F220C #0C2F11
split-complementary
#0C192F #2F110C #2B2F0C
monochromatic
#060D18 #060D18 #0C192F #183360 #254D91

Accessibility & contrast

On white

17.56
#0C192F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#0C192F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C192F
17.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C192F#FFFFFF#000000##FFFFFF
##0C192F1.0017.561.2017.56
#FFFFFF17.561.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1B30
Deuteranopia (green-blind)
#0B182F
Tritanopia (blue-blind)
#001E21
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #0c192f;
/* rgb */ color: rgb(12, 25, 47);
/* oklch */ color: oklch(21.5% 0.047 260.3);
Tailwind
colors: {
  custom: {
    50: '#4f5567',
    500: '#0c192f',
    950: '#000000',
  },
}
SCSS
$custom: #0c192f;
$custom-light: #4f5567;
$custom-dark: #000000;
JSON
{
  "hex": "#0c192f",
  "rgb": {
    "r": 12,
    "g": 25,
    "b": 47
  },
  "hsl": {
    "h": 217.714,
    "s": 59.322,
    "l": 11.569
  },
  "oklch": {
    "l": 0.2148,
    "c": 0.04732,
    "h": 260.3
  },
  "luminance": 0.00979
}

Semantic roles & 50–950 ramp

primary
#0C192F
secondary
#6B532C
accent
#A845E3
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020306
muted
#78787A

Preview Lab

Preview with #0C192F

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

Preview Lab → · Contrast checker → · Palette generator →

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