#040210#040210

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

Color values

HEX#040210
RGBrgb(4, 2, 16)
HSLhsl(249, 78%, 4%)
HSVhsv(249, 88%, 6%)
CMYKcmyk(75%, 87.5%, 0%, 93.7%)
CIE-LABlab(0.96, 2.62, -5.52)
CIE-LCHlch(0.96, 6.11, 295.40°)
OKLaboklab(10.6% 0.0124 -0.0368)
OKLCHoklch(10.6% 0.039 288.6)
XYZxyz(0.1653, 0.1066, 0.5020)
Luminance0.0011 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#040210 #0E1002
analogous
#020710 #040210 #0B0210
triadic
#040210 #100402 #021004
tetradic
#040210 #100207 #0E1002 #02100B
square
#040210 #100207 #0E1002 #02100B
split-complementary
#040210 #100B02 #071002
monochromatic
#07031B #07031B #07031B #120946 #1F107D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##040210#FFFFFF#000000##FFFFFF
##0402101.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)
#000411
Deuteranopia (green-blind)
#000310
Tritanopia (blue-blind)
#020407
Achromatopsia (no color)
#040404

Design tokens & code

CSS
--color: #040210;
/* rgb */ color: rgb(4, 2, 16);
/* oklch */ color: oklch(10.6% 0.039 288.6);
Tailwind
colors: {
  custom: {
    50: '#48484e',
    500: '#040210',
    950: '#000000',
  },
}
SCSS
$custom: #040210;
$custom-light: #48484e;
$custom-dark: #000000;
JSON
{
  "hex": "#040210",
  "rgb": {
    "r": 4,
    "g": 2,
    "b": 16
  },
  "hsl": {
    "h": 248.571,
    "s": 77.778,
    "l": 3.529
  },
  "oklch": {
    "l": 0.10602,
    "c": 0.03885,
    "h": 288.6
  },
  "luminance": 0.00107
}

Semantic roles & 50–950 ramp

primary
#040210
secondary
#4C5519
accent
#F434D9
background
#F4F4F4
surface
#E6E6E7
border
#C2C2C3
text
#000001
muted
#777777

Preview Lab

Preview with #040210

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

Preview Lab → · Contrast checker → · Palette generator →

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