#020E2B#020E2B

#020E2B is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.4% C 0.063 H 261.3°. Best body text is #FFFFFF at 19.09:1 contrast (WCAG AA passes).

Color values

HEX#020E2B
RGBrgb(2, 14, 43)
HSLhsl(222, 91%, 9%)
HSVhsv(222, 95%, 17%)
CMYKcmyk(95.3%, 67.4%, 0%, 83.1%)
CIE-LABlab(4.53, 5.80, -20.28)
CIE-LCHlch(4.53, 21.10, 285.95°)
OKLaboklab(17.38% -0.0094 -0.0619)
OKLCHoklch(17.38% 0.063 261.3)
XYZxyz(0.6180, 0.5013, 2.3492)
Luminance0.0050 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020E2B #2B1F02
analogous
#02232B #020E2B #0B022B
triadic
#020E2B #2B020E #0E2B02
tetradic
#020E2B #2B0223 #2B1F02 #022B0B
square
#020E2B #2B0223 #2B1F02 #022B0B
split-complementary
#020E2B #2B0B02 #232B02
monochromatic
#010A1D #010A1D #020E2B #052165 #0734A0

Accessibility & contrast

On white

19.09
#020E2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #020E2B
19.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020E2B#FFFFFF#000000##FFFFFF
##020E2B1.0019.091.1019.09
#FFFFFF19.091.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00122C
Deuteranopia (green-blind)
#000E2A
Tritanopia (blue-blind)
#00151A
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #020e2b;
/* rgb */ color: rgb(2, 14, 43);
/* oklch */ color: oklch(17.4% 0.063 261.3);
Tailwind
colors: {
  custom: {
    50: '#484d64',
    500: '#020e2b',
    950: '#000000',
  },
}
SCSS
$custom: #020e2b;
$custom-light: #484d64;
$custom-dark: #000000;
JSON
{
  "hex": "#020e2b",
  "rgb": {
    "r": 2,
    "g": 14,
    "b": 43
  },
  "hsl": {
    "h": 222.439,
    "s": 91.111,
    "l": 8.824
  },
  "oklch": {
    "l": 0.17381,
    "c": 0.06264,
    "h": 261.3
  },
  "luminance": 0.00501
}

Semantic roles & 50–950 ramp

primary
#020E2B
secondary
#705619
accent
#C029FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010105
muted
#77777A

Preview Lab

Preview with #020E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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