#0A121F#0A121F

#0A121F is a very dark, muted blue. Relative luminance 0.006; OKLCH L 18.2% C 0.030 H 259.8°. Best body text is #FFFFFF at 18.76:1 contrast (WCAG AA passes).

Color values

HEX#0A121F
RGBrgb(10, 18, 31)
HSLhsl(217, 51%, 8%)
HSVhsv(217, 68%, 12%)
CMYKcmyk(67.7%, 41.9%, 0%, 87.8%)
CIE-LABlab(5.38, 0.91, -9.76)
CIE-LCHlch(5.38, 9.81, 275.33°)
OKLaboklab(18.16% -0.0052 -0.0291)
OKLCHoklch(18.16% 0.03 259.8)
XYZxyz(0.5887, 0.5960, 1.3801)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A121F #1F170A
analogous
#0A1C1F #0A121F #0C0A1F
triadic
#0A121F #1F0A12 #121F0A
tetradic
#0A121F #1F0A1C #1F170A #0A1F0C
square
#0A121F #1F0A1C #1F170A #0A1F0C
split-complementary
#0A121F #1F0C0A #1C1F0A
monochromatic
#070D17 #070D17 #0A121F #192D4D #28487C

Accessibility & contrast

On white

18.76
#0A121F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A121F
18.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A121F#FFFFFF#000000##FFFFFF
##0A121F1.0018.761.1218.76
#FFFFFF18.761.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D1320
Deuteranopia (green-blind)
#0B111F
Tritanopia (blue-blind)
#031517
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #0a121f;
/* rgb */ color: rgb(10, 18, 31);
/* oklch */ color: oklch(18.2% 0.030 259.8);
Tailwind
colors: {
  custom: {
    50: '#4b505a',
    500: '#0a121f',
    950: '#000000',
  },
}
SCSS
$custom: #0a121f;
$custom-light: #4b505a;
$custom-dark: #000000;
JSON
{
  "hex": "#0a121f",
  "rgb": {
    "r": 10,
    "g": 18,
    "b": 31
  },
  "hsl": {
    "h": 217.143,
    "s": 51.22,
    "l": 8.039
  },
  "oklch": {
    "l": 0.18161,
    "c": 0.0296,
    "h": 259.8
  },
  "luminance": 0.00596
}

Semantic roles & 50–950 ramp

primary
#0A121F
secondary
#5A482B
accent
#A54DDB
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010203
muted
#777878

Preview Lab

Preview with #0A121F

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

Preview Lab → · Contrast checker → · Palette generator →

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