#000212#000212

#000212 is a very dark, muted blue. Relative luminance 0.001; OKLCH L 9.8% C 0.046 H 262.3°. Best body text is #FFFFFF at 20.64:1 contrast (WCAG AA passes).

Color values

HEX#000212
RGBrgb(0, 2, 18)
HSLhsl(233, 100%, 4%)
HSVhsv(233, 100%, 7%)
CMYKcmyk(100%, 88.9%, 0%, 92.9%)
CIE-LABlab(0.79, 1.97, -6.97)
CIE-LCHlch(0.79, 7.24, 285.79°)
OKLaboklab(9.84% -0.0062 -0.0461)
OKLCHoklch(9.84% 0.046 262.3)
XYZxyz(0.1309, 0.0871, 0.5821)
Luminance0.0009 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#000212 #121000
analogous
#000B12 #000212 #070012
triadic
#000212 #120002 #021200
tetradic
#000212 #12000B #121000 #001207
square
#000212 #12000B #121000 #001207
split-complementary
#000212 #120700 #0B1200
monochromatic
#00031F #00031F #00031F #00094F #00108C

Accessibility & contrast

On white

20.64
#000212 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.02
#000212 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #000212
20.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##000212#FFFFFF#000000##FFFFFF
##0002121.0020.641.0220.64
#FFFFFF20.641.0021.001.00
#0000001.0221.001.0021.00
##FFFFFF20.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000413
Deuteranopia (green-blind)
#000212
Tritanopia (blue-blind)
#000507
Achromatopsia (no color)
#030303

Design tokens & code

CSS
--color: #000212;
/* rgb */ color: rgb(0, 2, 18);
/* oklch */ color: oklch(9.8% 0.046 262.3);
Tailwind
colors: {
  custom: {
    50: '#46484f',
    500: '#000212',
    950: '#000000',
  },
}
SCSS
$custom: #000212;
$custom-light: #46484f;
$custom-dark: #000000;
JSON
{
  "hex": "#000212",
  "rgb": {
    "r": 0,
    "g": 2,
    "b": 18
  },
  "hsl": {
    "h": 233.333,
    "s": 100,
    "l": 3.529
  },
  "oklch": {
    "l": 0.09845,
    "c": 0.04648,
    "h": 262.3
  },
  "luminance": 0.00087
}

Semantic roles & 50–950 ramp

primary
#000212
secondary
#5D5510
accent
#E729FF
background
#F3F4F4
surface
#E5E6E7
border
#C1C2C3
text
#000002
muted
#777778

Preview Lab

Preview with #000212

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

Preview Lab → · Contrast checker → · Palette generator →

#000212 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva