#0A101C#0A101C

#0A101C is a very dark, muted blue. Relative luminance 0.005; OKLCH L 17.4% C 0.027 H 263.5°. Best body text is #FFFFFF at 19.03:1 contrast (WCAG AA passes).

Color values

HEX#0A101C
RGBrgb(10, 16, 28)
HSLhsl(220, 47%, 7%)
HSVhsv(220, 64%, 11%)
CMYKcmyk(64.3%, 42.9%, 0%, 89%)
CIE-LABlab(4.69, 1.10, -8.48)
CIE-LCHlch(4.69, 8.55, 277.38°)
OKLaboklab(17.36% -0.003 -0.0267)
OKLCHoklch(17.36% 0.027 263.5)
XYZxyz(0.5200, 0.5189, 1.1711)
Luminance0.0052 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A101C #1C160A
analogous
#0A191C #0A101C #0D0A1C
triadic
#0A101C #1C0A10 #101C0A
tetradic
#0A101C #1C0A19 #1C160A #0A1C0D
square
#0A101C #1C0A19 #1C160A #0A1C0D
split-complementary
#0A101C #1C0D0A #191C0A
monochromatic
#080D17 #080D17 #0A101C #1A2A49 #2A4476

Accessibility & contrast

On white

19.03
#0A101C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#0A101C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A101C
19.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A101C#FFFFFF#000000##FFFFFF
##0A101C1.0019.031.1019.03
#FFFFFF19.031.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C111D
Deuteranopia (green-blind)
#0A0F1C
Tritanopia (blue-blind)
#041314
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #0a101c;
/* rgb */ color: rgb(10, 16, 28);
/* oklch */ color: oklch(17.4% 0.027 263.5);
Tailwind
colors: {
  custom: {
    50: '#4b4e58',
    500: '#0a101c',
    950: '#000000',
  },
}
SCSS
$custom: #0a101c;
$custom-light: #4b4e58;
$custom-dark: #000000;
JSON
{
  "hex": "#0a101c",
  "rgb": {
    "r": 10,
    "g": 16,
    "b": 28
  },
  "hsl": {
    "h": 220,
    "s": 47.368,
    "l": 7.451
  },
  "oklch": {
    "l": 0.1736,
    "c": 0.02686,
    "h": 263.5
  },
  "luminance": 0.00519
}

Semantic roles & 50–950 ramp

primary
#0A101C
secondary
#56482B
accent
#AA51D7
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010103
muted
#777778

Preview Lab

Preview with #0A101C

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

Preview Lab → · Contrast checker → · Palette generator →

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