#020E29#020E29

#020E29 is a very dark, muted blue. Relative luminance 0.005; OKLCH L 17.2% C 0.059 H 260.6°. Best body text is #FFFFFF at 19.14:1 contrast (WCAG AA passes).

Color values

HEX#020E29
RGBrgb(2, 14, 41)
HSLhsl(222, 91%, 8%)
HSVhsv(222, 95%, 16%)
CMYKcmyk(95.1%, 65.9%, 0%, 83.9%)
CIE-LABlab(4.40, 4.89, -18.98)
CIE-LCHlch(4.40, 19.60, 284.44°)
OKLaboklab(17.18% -0.0097 -0.0584)
OKLCHoklch(17.18% 0.059 260.6)
XYZxyz(0.5822, 0.4870, 2.1607)
Luminance0.0049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020E29 #291D02
analogous
#022129 #020E29 #090229
triadic
#020E29 #29020E #0E2902
tetradic
#020E29 #290221 #291D02 #022909
square
#020E29 #290221 #291D02 #022909
split-complementary
#020E29 #290902 #212902
monochromatic
#010A1D #010A1D #020E29 #052263 #08369E

Accessibility & contrast

On white

19.14
#020E29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #020E29
19.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020E29#FFFFFF#000000##FFFFFF
##020E291.0019.141.1019.14
#FFFFFF19.141.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01112A
Deuteranopia (green-blind)
#000D28
Tritanopia (blue-blind)
#001519
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #020e29;
/* rgb */ color: rgb(2, 14, 41);
/* oklch */ color: oklch(17.2% 0.059 260.6);
Tailwind
colors: {
  custom: {
    50: '#484d63',
    500: '#020e29',
    950: '#000000',
  },
}
SCSS
$custom: #020e29;
$custom-light: #484d63;
$custom-dark: #000000;
JSON
{
  "hex": "#020e29",
  "rgb": {
    "r": 2,
    "g": 14,
    "b": 41
  },
  "hsl": {
    "h": 221.538,
    "s": 90.698,
    "l": 8.431
  },
  "oklch": {
    "l": 0.17176,
    "c": 0.05919,
    "h": 260.6
  },
  "luminance": 0.00487
}

Semantic roles & 50–950 ramp

primary
#020E29
secondary
#6E5419
accent
#BD29FF
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#010105
muted
#777779

Preview Lab

Preview with #020E29

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

Preview Lab → · Contrast checker → · Palette generator →

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