#02011E#02011E

#02011E is a very dark, moderate blue. Relative luminance 0.001; OKLCH L 11.6% C 0.067 H 272.4°. Best body text is #FFFFFF at 20.48:1 contrast (WCAG AA passes).

Color values

HEX#02011E
RGBrgb(2, 1, 30)
HSLhsl(242, 94%, 6%)
HSVhsv(242, 97%, 12%)
CMYKcmyk(93.3%, 96.7%, 0%, 88.2%)
CIE-LABlab(1.16, 6.07, -15.40)
CIE-LCHlch(1.16, 16.55, 291.53°)
OKLaboklab(11.6% 0.0028 -0.0672)
OKLCHoklch(11.6% 0.067 272.4)
XYZxyz(0.2702, 0.1283, 1.2386)
Luminance0.0013 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02011E #1D1E01
analogous
#010E1E #02011E #10011E
triadic
#02011E #1E0201 #011E02
tetradic
#02011E #1E010E #1D1E01 #011E10
square
#02011E #1E010E #1D1E01 #011E10
split-complementary
#02011E #1E1001 #0E1E01
monochromatic
#02011E #02011E #02011E #060359 #0A0594

Accessibility & contrast

On white

20.48
#02011E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.03
#02011E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #02011E
20.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02011E#FFFFFF#000000##FFFFFF
##02011E1.0020.481.0320.48
#FFFFFF20.481.0021.001.00
#0000001.0321.001.0021.00
##FFFFFF20.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #02011e;
/* rgb */ color: rgb(2, 1, 30);
/* oklch */ color: oklch(11.6% 0.067 272.4);
Tailwind
colors: {
  custom: {
    50: '#474759',
    500: '#02011e',
    950: '#000000',
  },
}
SCSS
$custom: #02011e;
$custom-light: #474759;
$custom-dark: #000000;
JSON
{
  "hex": "#02011e",
  "rgb": {
    "r": 2,
    "g": 1,
    "b": 30
  },
  "hsl": {
    "h": 242.069,
    "s": 93.548,
    "l": 6.078
  },
  "oklch": {
    "l": 0.11604,
    "c": 0.06729,
    "h": 272.4
  },
  "luminance": 0.00128
}

Semantic roles & 50–950 ramp

primary
#02011E
secondary
#636615
accent
#FF29F8
background
#F4F3F5
surface
#E6E5E9
border
#C2C1C5
text
#000003
muted
#777778

Preview Lab

Preview with #02011E

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

Preview Lab → · Contrast checker → · Palette generator →

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