#020E2D#020E2D

#020E2D is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.6% C 0.066 H 262.0°. Best body text is #FFFFFF at 19.04:1 contrast (WCAG AA passes).

Color values

HEX#020E2D
RGBrgb(2, 14, 45)
HSLhsl(223, 91%, 9%)
HSVhsv(223, 96%, 18%)
CMYKcmyk(95.6%, 68.9%, 0%, 82.4%)
CIE-LABlab(4.66, 6.75, -21.57)
CIE-LCHlch(4.66, 22.60, 287.38°)
OKLaboklab(17.59% -0.0092 -0.0654)
OKLCHoklch(17.59% 0.066 262)
XYZxyz(0.6556, 0.5164, 2.5472)
Luminance0.0052 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020E2D #2D2102
analogous
#02242D #020E2D #0C022D
triadic
#020E2D #2D020E #0E2D02
tetradic
#020E2D #2D0224 #2D2102 #022D0C
square
#020E2D #2D0224 #2D2102 #022D0C
split-complementary
#020E2D #2D0C02 #242D02
monochromatic
#01091D #01091D #020E2D #052068 #0732A2

Accessibility & contrast

On white

19.04
#020E2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #020E2D
19.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020E2D#FFFFFF#000000##FFFFFF
##020E2D1.0019.041.1019.04
#FFFFFF19.041.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00122E
Deuteranopia (green-blind)
#000E2C
Tritanopia (blue-blind)
#00161B
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #020e2d;
/* rgb */ color: rgb(2, 14, 45);
/* oklch */ color: oklch(17.6% 0.066 262.0);
Tailwind
colors: {
  custom: {
    50: '#494d66',
    500: '#020e2d',
    950: '#000000',
  },
}
SCSS
$custom: #020e2d;
$custom-light: #494d66;
$custom-dark: #000000;
JSON
{
  "hex": "#020e2d",
  "rgb": {
    "r": 2,
    "g": 14,
    "b": 45
  },
  "hsl": {
    "h": 223.256,
    "s": 91.489,
    "l": 9.216
  },
  "oklch": {
    "l": 0.17592,
    "c": 0.06605,
    "h": 262
  },
  "luminance": 0.00516
}

Semantic roles & 50–950 ramp

primary
#020E2D
secondary
#725919
accent
#C329FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #020E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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