#020E2E#020E2E

#020E2E is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.7% C 0.068 H 262.3°. Best body text is #FFFFFF at 19.01:1 contrast (WCAG AA passes).

Color values

HEX#020E2E
RGBrgb(2, 14, 46)
HSLhsl(224, 92%, 9%)
HSVhsv(224, 96%, 18%)
CMYKcmyk(95.7%, 69.6%, 0%, 82%)
CIE-LABlab(4.74, 7.24, -22.21)
CIE-LCHlch(4.74, 23.36, 288.06°)
OKLaboklab(17.7% -0.0091 -0.0671)
OKLCHoklch(17.7% 0.068 262.3)
XYZxyz(0.6750, 0.5242, 2.6498)
Luminance0.0052 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020E2E #2E2202
analogous
#02242E #020E2E #0C022E
triadic
#020E2E #2E020E #0E2E02
tetradic
#020E2E #2E0224 #2E2202 #022E0C
square
#020E2E #2E0224 #2E2202 #022E0C
split-complementary
#020E2E #2E0C02 #242E02
monochromatic
#01091D #01091D #020E2E #052069 #0732A3

Accessibility & contrast

On white

19.01
#020E2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#020E2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #020E2E
19.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020E2E#FFFFFF#000000##FFFFFF
##020E2E1.0019.011.1019.01
#FFFFFF19.011.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00122F
Deuteranopia (green-blind)
#000E2D
Tritanopia (blue-blind)
#00161C
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #020e2e;
/* rgb */ color: rgb(2, 14, 46);
/* oklch */ color: oklch(17.7% 0.068 262.3);
Tailwind
colors: {
  custom: {
    50: '#494d67',
    500: '#020e2e',
    950: '#000000',
  },
}
SCSS
$custom: #020e2e;
$custom-light: #494d67;
$custom-dark: #000000;
JSON
{
  "hex": "#020e2e",
  "rgb": {
    "r": 2,
    "g": 14,
    "b": 46
  },
  "hsl": {
    "h": 223.636,
    "s": 91.667,
    "l": 9.412
  },
  "oklch": {
    "l": 0.17699,
    "c": 0.06774,
    "h": 262.3
  },
  "luminance": 0.00524
}

Semantic roles & 50–950 ramp

primary
#020E2E
secondary
#735A19
accent
#C529FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #020E2E

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

Preview Lab → · Contrast checker → · Palette generator →

#020E2E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva