#0A0C19#0A0C19

#0A0C19 is a very dark, muted blue. Relative luminance 0.004; OKLCH L 16.0% C 0.028 H 276.1°. Best body text is #FFFFFF at 19.45:1 contrast (WCAG AA passes).

Color values

HEX#0A0C19
RGBrgb(10, 12, 25)
HSLhsl(232, 43%, 7%)
HSVhsv(232, 60%, 10%)
CMYKcmyk(60%, 52%, 0%, 90.2%)
CIE-LABlab(3.59, 2.22, -7.73)
CIE-LCHlch(3.59, 8.04, 286.02°)
OKLaboklab(15.98% 0.003 -0.0276)
OKLCHoklch(15.98% 0.028 276.1)
XYZxyz(0.4321, 0.3976, 0.9735)
Luminance0.0040 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0C19 #19170A
analogous
#0A1419 #0A0C19 #100A19
triadic
#0A0C19 #190A0C #0C190A
tetradic
#0A0C19 #190A14 #19170A #0A1910
square
#0A0C19 #190A14 #19170A #0A1910
split-complementary
#0A0C19 #19100A #14190A
monochromatic
#090A16 #090A16 #0A0C19 #1B2145 #2D3670

Accessibility & contrast

On white

19.45
#0A0C19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#0A0C19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A0C19
19.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A0C19#FFFFFF#000000##FFFFFF
##0A0C191.0019.451.0819.45
#FFFFFF19.451.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#080D1A
Deuteranopia (green-blind)
#070C19
Tritanopia (blue-blind)
#060F11
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #0a0c19;
/* rgb */ color: rgb(10, 12, 25);
/* oklch */ color: oklch(16.0% 0.028 276.1);
Tailwind
colors: {
  custom: {
    50: '#4b4c55',
    500: '#0a0c19',
    950: '#000000',
  },
}
SCSS
$custom: #0a0c19;
$custom-light: #4b4c55;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0c19",
  "rgb": {
    "r": 10,
    "g": 12,
    "b": 25
  },
  "hsl": {
    "h": 232,
    "s": 42.857,
    "l": 6.863
  },
  "oklch": {
    "l": 0.15976,
    "c": 0.02774,
    "h": 276.1
  },
  "luminance": 0.00398
}

Semantic roles & 50–950 ramp

primary
#0A0C19
secondary
#524D2C
accent
#C255D3
background
#F4F4F4
surface
#E7E7E7
border
#C3C3C3
text
#010103
muted
#777778

Preview Lab

Preview with #0A0C19

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

Preview Lab → · Contrast checker → · Palette generator →

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