#0C192B#0C192B

#0C192B is a very dark, muted cyan. Relative luminance 0.009; OKLCH L 21.2% C 0.040 H 256.8°. Best body text is #FFFFFF at 17.65:1 contrast (WCAG AA passes).

Color values

HEX#0C192B
RGBrgb(12, 25, 43)
HSLhsl(215, 56%, 11%)
HSVhsv(215, 72%, 17%)
CMYKcmyk(72.1%, 41.9%, 0%, 83.1%)
CIE-LABlab(8.55, 1.32, -13.90)
CIE-LCHlch(8.55, 13.96, 275.44°)
OKLaboklab(21.19% -0.0092 -0.0393)
OKLCHoklch(21.19% 0.04 256.8)
XYZxyz(0.9351, 0.9478, 2.4187)
Luminance0.0095 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C192B #2B1E0C
analogous
#0C282B #0C192B #0E0C2B
triadic
#0C192B #2B0C19 #192B0C
tetradic
#0C192B #2B0C28 #2B1E0C #0C2B0E
square
#0C192B #2B0C28 #2B1E0C #0C2B0E
split-complementary
#0C192B #2B0E0C #282B0C
monochromatic
#070E18 #070E18 #0C192B #19355B #27518B

Accessibility & contrast

On white

17.65
#0C192B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C192B
17.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C192B#FFFFFF#000000##FFFFFF
##0C192B1.0017.651.1917.65
#FFFFFF17.651.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121A2C
Deuteranopia (green-blind)
#0E172B
Tritanopia (blue-blind)
#001D20
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #0c192b;
/* rgb */ color: rgb(12, 25, 43);
/* oklch */ color: oklch(21.2% 0.040 256.8);
Tailwind
colors: {
  custom: {
    50: '#4e5564',
    500: '#0c192b',
    950: '#000000',
  },
}
SCSS
$custom: #0c192b;
$custom-light: #4e5564;
$custom-dark: #000000;
JSON
{
  "hex": "#0c192b",
  "rgb": {
    "r": 12,
    "g": 25,
    "b": 43
  },
  "hsl": {
    "h": 214.839,
    "s": 56.364,
    "l": 10.784
  },
  "oklch": {
    "l": 0.2119,
    "c": 0.04034,
    "h": 256.8
  },
  "luminance": 0.00948
}

Semantic roles & 50–950 ramp

primary
#0C192B
secondary
#664E2C
accent
#A048E0
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010305
muted
#77787A

Preview Lab

Preview with #0C192B

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

Preview Lab → · Contrast checker → · Palette generator →

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