#0A121E#0A121E

#0A121E is a very dark, muted blue. Relative luminance 0.006; OKLCH L 18.1% C 0.028 H 258.3°. Best body text is #FFFFFF at 18.78:1 contrast (WCAG AA passes).

Color values

HEX#0A121E
RGBrgb(10, 18, 30)
HSLhsl(216, 50%, 8%)
HSVhsv(216, 67%, 12%)
CMYKcmyk(66.7%, 40%, 0%, 88.2%)
CIE-LABlab(5.34, 0.58, -9.06)
CIE-LCHlch(5.34, 9.08, 273.66°)
OKLaboklab(18.09% -0.0056 -0.0272)
OKLCHoklch(18.09% 0.028 258.3)
XYZxyz(0.5757, 0.5908, 1.3117)
Luminance0.0059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A121E #1E160A
analogous
#0A1C1E #0A121E #0C0A1E
triadic
#0A121E #1E0A12 #121E0A
tetradic
#0A121E #1E0A1C #1E160A #0A1E0C
square
#0A121E #1E0A1C #1E160A #0A1E0C
split-complementary
#0A121E #1E0C0A #1C1E0A
monochromatic
#080E17 #080E17 #0A121E #192E4C #29497A

Accessibility & contrast

On white

18.78
#0A121E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#0A121E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A121E
18.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A121E#FFFFFF#000000##FFFFFF
##0A121E1.0018.781.1218.78
#FFFFFF18.781.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D131F
Deuteranopia (green-blind)
#0B111E
Tritanopia (blue-blind)
#031516
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #0a121e;
/* rgb */ color: rgb(10, 18, 30);
/* oklch */ color: oklch(18.1% 0.028 258.3);
Tailwind
colors: {
  custom: {
    50: '#4b5059',
    500: '#0a121e',
    950: '#000000',
  },
}
SCSS
$custom: #0a121e;
$custom-light: #4b5059;
$custom-dark: #000000;
JSON
{
  "hex": "#0a121e",
  "rgb": {
    "r": 10,
    "g": 18,
    "b": 30
  },
  "hsl": {
    "h": 216,
    "s": 50,
    "l": 7.843
  },
  "oklch": {
    "l": 0.18093,
    "c": 0.02775,
    "h": 258.3
  },
  "luminance": 0.00591
}

Semantic roles & 50–950 ramp

primary
#0A121E
secondary
#59472B
accent
#A24EDA
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010203
muted
#777878

Preview Lab

Preview with #0A121E

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

Preview Lab → · Contrast checker → · Palette generator →

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