#030212#030212

#030212 is a very dark, muted blue. Relative luminance 0.001; OKLCH L 10.6% C 0.043 H 281.4°. Best body text is #FFFFFF at 20.56:1 contrast (WCAG AA passes).

Color values

HEX#030212
RGBrgb(3, 2, 18)
HSLhsl(244, 80%, 4%)
HSVhsv(244, 89%, 7%)
CMYKcmyk(83.3%, 88.9%, 0%, 92.9%)
CIE-LABlab(0.96, 2.76, -6.69)
CIE-LCHlch(0.96, 7.24, 292.38°)
OKLaboklab(10.61% 0.0085 -0.042)
OKLCHoklch(10.61% 0.043 281.4)
XYZxyz(0.1684, 0.1064, 0.5838)
Luminance0.0011 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#030212 #111202
analogous
#020912 #030212 #0B0212
triadic
#030212 #120302 #021203
tetradic
#030212 #120209 #111202 #02120B
square
#030212 #120209 #111202 #02120B
split-complementary
#030212 #120B02 #091202
monochromatic
#05031C #05031C #05031C #0C0849 #150E80

Accessibility & contrast

On white

20.56
#030212 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #030212
20.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##030212#FFFFFF#000000##FFFFFF
##0302121.0020.561.0220.56
#FFFFFF20.561.0021.001.00
#0000001.0221.001.0021.00
##FFFFFF20.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #030212;
/* rgb */ color: rgb(3, 2, 18);
/* oklch */ color: oklch(10.6% 0.043 281.4);
Tailwind
colors: {
  custom: {
    50: '#48484f',
    500: '#030212',
    950: '#000000',
  },
}
SCSS
$custom: #030212;
$custom-light: #48484f;
$custom-dark: #000000;
JSON
{
  "hex": "#030212",
  "rgb": {
    "r": 3,
    "g": 2,
    "b": 18
  },
  "hsl": {
    "h": 243.75,
    "s": 80,
    "l": 3.922
  },
  "oklch": {
    "l": 0.1061,
    "c": 0.04283,
    "h": 281.4
  },
  "luminance": 0.00106
}

Semantic roles & 50–950 ramp

primary
#030212
secondary
#535719
accent
#F631EA
background
#F4F4F4
surface
#E6E6E7
border
#C2C2C3
text
#000002
muted
#777778

Preview Lab

Preview with #030212

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

Preview Lab → · Contrast checker → · Palette generator →

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