#02001E#02001E

#02001E is a very dark, moderate blue. Relative luminance 0.001; OKLCH L 11.1% C 0.071 H 273.1°. Best body text is #FFFFFF at 20.56:1 contrast (WCAG AA passes).

Color values

HEX#02001E
RGBrgb(2, 0, 30)
HSLhsl(244, 100%, 6%)
HSVhsv(244, 100%, 12%)
CMYKcmyk(93.3%, 100%, 0%, 88.2%)
CIE-LABlab(0.96, 6.47, -15.69)
CIE-LCHlch(0.96, 16.97, 292.41°)
OKLaboklab(11.09% 0.0038 -0.0707)
OKLCHoklch(11.09% 0.071 273.1)
XYZxyz(0.2593, 0.1066, 1.2350)
Luminance0.0011 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02001E #1C1E00
analogous
#000D1E #02001E #11001E
triadic
#02001E #1E0200 #001E02
tetradic
#02001E #1E000D #1C1E00 #001E11
square
#02001E #1E000D #1C1E00 #001E11
split-complementary
#02001E #1E1100 #0D1E00
monochromatic
#02001F #02001F #02001F #06005B #0A0098

Accessibility & contrast

On white

20.56
#02001E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.02
#02001E on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##02001E#FFFFFF#000000##FFFFFF
##02001E1.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)
#00041F
Deuteranopia (green-blind)
#00031D
Tritanopia (blue-blind)
#00060D
Achromatopsia (no color)
#040404

Design tokens & code

CSS
--color: #02001e;
/* rgb */ color: rgb(2, 0, 30);
/* oklch */ color: oklch(11.1% 0.071 273.1);
Tailwind
colors: {
  custom: {
    50: '#474759',
    500: '#02001e',
    950: '#000000',
  },
}
SCSS
$custom: #02001e;
$custom-light: #474759;
$custom-dark: #000000;
JSON
{
  "hex": "#02001e",
  "rgb": {
    "r": 2,
    "g": 0,
    "b": 30
  },
  "hsl": {
    "h": 244,
    "s": 100,
    "l": 5.882
  },
  "oklch": {
    "l": 0.11094,
    "c": 0.07081,
    "h": 273.1
  },
  "luminance": 0.00107
}

Semantic roles & 50–950 ramp

primary
#02001E
secondary
#626812
accent
#FF29F1
background
#F4F3F5
surface
#E6E5E9
border
#C2C1C5
text
#000003
muted
#777778

Preview Lab

Preview with #02001E

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

Preview Lab → · Contrast checker → · Palette generator →

#02001E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva