#0C192D#0C192D

#0C192D is a very dark, muted blue. Relative luminance 0.010; OKLCH L 21.3% C 0.044 H 258.7°. Best body text is #FFFFFF at 17.61:1 contrast (WCAG AA passes).

Color values

HEX#0C192D
RGBrgb(12, 25, 45)
HSLhsl(216, 58%, 11%)
HSVhsv(216, 73%, 18%)
CMYKcmyk(73.3%, 44.4%, 0%, 82.4%)
CIE-LABlab(8.68, 2.19, -15.17)
CIE-LCHlch(8.68, 15.32, 278.20°)
OKLaboklab(21.33% -0.0086 -0.043)
OKLCHoklch(21.33% 0.044 258.7)
XYZxyz(0.9727, 0.9628, 2.6167)
Luminance0.0096 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C192D #2D200C
analogous
#0C292D #0C192D #0F0C2D
triadic
#0C192D #2D0C19 #192D0C
tetradic
#0C192D #2D0C29 #2D200C #0C2D0F
square
#0C192D #2D0C29 #2D200C #0C2D0F
split-complementary
#0C192D #2D0F0C #292D0C
monochromatic
#060D18 #060D18 #0C192D #19345D #264F8E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0C192D#FFFFFF#000000##FFFFFF
##0C192D1.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)
#111B2E
Deuteranopia (green-blind)
#0C172D
Tritanopia (blue-blind)
#001E20
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #0c192d;
/* rgb */ color: rgb(12, 25, 45);
/* oklch */ color: oklch(21.3% 0.044 258.7);
Tailwind
colors: {
  custom: {
    50: '#4e5566',
    500: '#0c192d',
    950: '#000000',
  },
}
SCSS
$custom: #0c192d;
$custom-light: #4e5566;
$custom-dark: #000000;
JSON
{
  "hex": "#0c192d",
  "rgb": {
    "r": 12,
    "g": 25,
    "b": 45
  },
  "hsl": {
    "h": 216.364,
    "s": 57.895,
    "l": 11.176
  },
  "oklch": {
    "l": 0.21333,
    "c": 0.04382,
    "h": 258.7
  },
  "luminance": 0.00963
}

Semantic roles & 50–950 ramp

primary
#0C192D
secondary
#69512C
accent
#A447E1
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020305
muted
#78787A

Preview Lab

Preview with #0C192D

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

Preview Lab → · Contrast checker → · Palette generator →

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