#0C192E#0C192E

#0C192E is a very dark, muted blue. Relative luminance 0.010; OKLCH L 21.4% C 0.046 H 259.6°. Best body text is #FFFFFF at 17.58:1 contrast (WCAG AA passes).

Color values

HEX#0C192E
RGBrgb(12, 25, 46)
HSLhsl(217, 59%, 11%)
HSVhsv(217, 74%, 18%)
CMYKcmyk(73.9%, 45.7%, 0%, 82%)
CIE-LABlab(8.74, 2.62, -15.80)
CIE-LCHlch(8.74, 16.01, 279.42°)
OKLaboklab(21.41% -0.0082 -0.0448)
OKLCHoklch(21.41% 0.046 259.6)
XYZxyz(0.9922, 0.9706, 2.7193)
Luminance0.0097 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C192E #2E210C
analogous
#0C2A2E #0C192E #100C2E
triadic
#0C192E #2E0C19 #192E0C
tetradic
#0C192E #2E0C2A #2E210C #0C2E10
square
#0C192E #2E0C2A #2E210C #0C2E10
split-complementary
#0C192E #2E100C #2A2E0C
monochromatic
#060D18 #060D18 #0C192E #19335F #254E8F

Accessibility & contrast

On white

17.58
#0C192E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C192E
17.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C192E#FFFFFF#000000##FFFFFF
##0C192E1.0017.581.1917.58
#FFFFFF17.581.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101B2F
Deuteranopia (green-blind)
#0B182E
Tritanopia (blue-blind)
#001E21
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #0c192e;
/* rgb */ color: rgb(12, 25, 46);
/* oklch */ color: oklch(21.4% 0.046 259.6);
Tailwind
colors: {
  custom: {
    50: '#4e5567',
    500: '#0c192e',
    950: '#000000',
  },
}
SCSS
$custom: #0c192e;
$custom-light: #4e5567;
$custom-dark: #000000;
JSON
{
  "hex": "#0c192e",
  "rgb": {
    "r": 12,
    "g": 25,
    "b": 46
  },
  "hsl": {
    "h": 217.059,
    "s": 58.621,
    "l": 11.373
  },
  "oklch": {
    "l": 0.21406,
    "c": 0.04557,
    "h": 259.6
  },
  "luminance": 0.00971
}

Semantic roles & 50–950 ramp

primary
#0C192E
secondary
#6A522C
accent
#A646E2
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020306
muted
#78787A

Preview Lab

Preview with #0C192E

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

Preview Lab → · Contrast checker → · Palette generator →

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