#0C101E#0C101E

#0C101E is a very dark, muted blue. Relative luminance 0.005; OKLCH L 17.7% C 0.030 H 271.0°. Best body text is #FFFFFF at 18.95:1 contrast (WCAG AA passes).

Color values

HEX#0C101E
RGBrgb(12, 16, 30)
HSLhsl(227, 43%, 8%)
HSVhsv(227, 60%, 12%)
CMYKcmyk(60%, 46.7%, 0%, 88.2%)
CIE-LABlab(4.90, 2.28, -9.71)
CIE-LCHlch(4.90, 9.97, 283.20°)
OKLaboklab(17.68% 0.0005 -0.0298)
OKLCHoklch(17.68% 0.03 271)
XYZxyz(0.5712, 0.5425, 1.3027)
Luminance0.0054 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C101E #1E1A0C
analogous
#0C191E #0C101E #110C1E
triadic
#0C101E #1E0C10 #101E0C
tetradic
#0C101E #1E0C19 #1E1A0C #0C1E11
square
#0C101E #1E0C19 #1E1A0C #0C1E11
split-complementary
#0C101E #1E110C #191E0C
monochromatic
#090C16 #090C16 #0C101E #1D274A #2F3F75

Accessibility & contrast

On white

18.95
#0C101E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#0C101E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C101E
18.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C101E#FFFFFF#000000##FFFFFF
##0C101E1.0018.951.1118.95
#FFFFFF18.951.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B111F
Deuteranopia (green-blind)
#09101E
Tritanopia (blue-blind)
#061315
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #0c101e;
/* rgb */ color: rgb(12, 16, 30);
/* oklch */ color: oklch(17.7% 0.030 271.0);
Tailwind
colors: {
  custom: {
    50: '#4c4e59',
    500: '#0c101e',
    950: '#000000',
  },
}
SCSS
$custom: #0c101e;
$custom-light: #4c4e59;
$custom-dark: #000000;
JSON
{
  "hex": "#0c101e",
  "rgb": {
    "r": 12,
    "g": 16,
    "b": 30
  },
  "hsl": {
    "h": 226.667,
    "s": 42.857,
    "l": 8.235
  },
  "oklch": {
    "l": 0.17679,
    "c": 0.02976,
    "h": 271
  },
  "luminance": 0.00542
}

Semantic roles & 50–950 ramp

primary
#0C101E
secondary
#574E2F
accent
#B755D3
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010103
muted
#777778

Preview Lab

Preview with #0C101E

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

Preview Lab → · Contrast checker → · Palette generator →

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