#02011D#02011D

#02011D is a very dark, moderate blue. Relative luminance 0.001; OKLCH L 11.4% C 0.066 H 272.7°. Best body text is #FFFFFF at 20.50:1 contrast (WCAG AA passes).

Color values

HEX#02011D
RGBrgb(2, 1, 29)
HSLhsl(242, 93%, 6%)
HSVhsv(242, 97%, 11%)
CMYKcmyk(93.1%, 96.6%, 0%, 88.6%)
CIE-LABlab(1.11, 5.75, -14.66)
CIE-LCHlch(1.11, 15.75, 291.43°)
OKLaboklab(11.44% 0.0031 -0.0657)
OKLCHoklch(11.44% 0.066 272.7)
XYZxyz(0.2576, 0.1233, 1.1724)
Luminance0.0012 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02011D #1C1D01
analogous
#010E1D #02011D #10011D
triadic
#02011D #1D0201 #011D02
tetradic
#02011D #1D010E #1C1D01 #011D10
square
#02011D #1D010E #1C1D01 #011D10
split-complementary
#02011D #1D1001 #0E1D01
monochromatic
#02011E #02011E #02011E #060358 #0A0593

Accessibility & contrast

On white

20.50
#02011D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.02
#02011D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #02011D
20.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02011D#FFFFFF#000000##FFFFFF
##02011D1.0020.501.0220.50
#FFFFFF20.501.0021.001.00
#0000001.0221.001.0021.00
##FFFFFF20.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00051E
Deuteranopia (green-blind)
#00031C
Tritanopia (blue-blind)
#00070D
Achromatopsia (no color)
#040404

Design tokens & code

CSS
--color: #02011d;
/* rgb */ color: rgb(2, 1, 29);
/* oklch */ color: oklch(11.4% 0.066 272.7);
Tailwind
colors: {
  custom: {
    50: '#474758',
    500: '#02011d',
    950: '#000000',
  },
}
SCSS
$custom: #02011d;
$custom-light: #474758;
$custom-dark: #000000;
JSON
{
  "hex": "#02011d",
  "rgb": {
    "r": 2,
    "g": 1,
    "b": 29
  },
  "hsl": {
    "h": 242.143,
    "s": 93.333,
    "l": 5.882
  },
  "oklch": {
    "l": 0.11442,
    "c": 0.06577,
    "h": 272.7
  },
  "luminance": 0.00123
}

Semantic roles & 50–950 ramp

primary
#02011D
secondary
#626515
accent
#FF29F7
background
#F4F3F5
surface
#E6E5E9
border
#C2C1C5
text
#000003
muted
#777778

Preview Lab

Preview with #02011D

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

Preview Lab → · Contrast checker → · Palette generator →

#02011D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva