#0C131E#0C131E

#0C131E is a very dark, muted blue. Relative luminance 0.006; OKLCH L 18.6% C 0.025 H 259.2°. Best body text is #FFFFFF at 18.62:1 contrast (WCAG AA passes).

Color values

HEX#0C131E
RGBrgb(12, 19, 30)
HSLhsl(217, 43%, 8%)
HSVhsv(217, 60%, 12%)
CMYKcmyk(60%, 36.7%, 0%, 88.2%)
CIE-LABlab(5.76, 0.52, -8.41)
CIE-LCHlch(5.76, 8.43, 273.56°)
OKLaboklab(18.56% -0.0047 -0.0247)
OKLCHoklch(18.56% 0.025 259.2)
XYZxyz(0.6188, 0.6376, 1.3185)
Luminance0.0064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C131E #1E170C
analogous
#0C1C1E #0C131E #0E0C1E
triadic
#0C131E #1E0C13 #131E0C
tetradic
#0C131E #1E0C1C #1E170C #0C1E0E
square
#0C131E #1E0C1C #1E170C #0C1E0E
split-complementary
#0C131E #1E0E0C #1C1E0C
monochromatic
#090E16 #090E16 #0C131E #1D2F4A #2F4A75

Accessibility & contrast

On white

18.62
#0C131E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#0C131E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C131E
18.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C131E#FFFFFF#000000##FFFFFF
##0C131E1.0018.621.1318.62
#FFFFFF18.621.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F141E
Deuteranopia (green-blind)
#0D121E
Tritanopia (blue-blind)
#061517
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #0c131e;
/* rgb */ color: rgb(12, 19, 30);
/* oklch */ color: oklch(18.6% 0.025 259.2);
Tailwind
colors: {
  custom: {
    50: '#4c5059',
    500: '#0c131e',
    950: '#000000',
  },
}
SCSS
$custom: #0c131e;
$custom-light: #4c5059;
$custom-dark: #000000;
JSON
{
  "hex": "#0c131e",
  "rgb": {
    "r": 12,
    "g": 19,
    "b": 30
  },
  "hsl": {
    "h": 216.667,
    "s": 42.857,
    "l": 8.235
  },
  "oklch": {
    "l": 0.18557,
    "c": 0.02511,
    "h": 259.2
  },
  "luminance": 0.00638
}

Semantic roles & 50–950 ramp

primary
#0C131E
secondary
#57472F
accent
#A255D3
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010203
muted
#777878

Preview Lab

Preview with #0C131E

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

Preview Lab → · Contrast checker → · Palette generator →

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