#02022E#02022E

#02022E is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 14.6% C 0.088 H 268.3°. Best body text is #FFFFFF at 19.98:1 contrast (WCAG AA passes).

Color values

HEX#02022E
RGBrgb(2, 2, 46)
HSLhsl(240, 92%, 9%)
HSVhsv(240, 96%, 18%)
CMYKcmyk(95.7%, 95.7%, 0%, 82%)
CIE-LABlab(2.29, 12.24, -26.09)
CIE-LCHlch(2.29, 28.82, 295.13°)
OKLaboklab(14.56% -0.0026 -0.0879)
OKLCHoklch(14.56% 0.088 268.3)
XYZxyz(0.5397, 0.2535, 2.6047)
Luminance0.0025 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02022E #2E2E02
analogous
#02182E #02022E #18022E
triadic
#02022E #2E0202 #022E02
tetradic
#02022E #2E0218 #2E2E02 #022E18
square
#02022E #2E0218 #2E2E02 #022E18
split-complementary
#02022E #2E1802 #182E02
monochromatic
#01011D #01011D #02022E #050569 #0707A3

Accessibility & contrast

On white

19.98
#02022E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.05
#02022E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #02022E
19.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02022E#FFFFFF#000000##FFFFFF
##02022E1.0019.981.0519.98
#FFFFFF19.981.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF19.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000B2F
Deuteranopia (green-blind)
#00062D
Tritanopia (blue-blind)
#000E17
Achromatopsia (no color)
#080808

Design tokens & code

CSS
--color: #02022e;
/* rgb */ color: rgb(2, 2, 46);
/* oklch */ color: oklch(14.6% 0.088 268.3);
Tailwind
colors: {
  custom: {
    50: '#494767',
    500: '#02022e',
    950: '#000000',
  },
}
SCSS
$custom: #02022e;
$custom-light: #494767;
$custom-dark: #000000;
JSON
{
  "hex": "#02022e",
  "rgb": {
    "r": 2,
    "g": 2,
    "b": 46
  },
  "hsl": {
    "h": 240,
    "s": 91.667,
    "l": 9.412
  },
  "oklch": {
    "l": 0.1456,
    "c": 0.08791,
    "h": 268.3
  },
  "luminance": 0.00254
}

Semantic roles & 50–950 ramp

primary
#02022E
secondary
#737319
accent
#FF29FF
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#010006
muted
#77777A

Preview Lab

Preview with #02022E

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

Preview Lab → · Contrast checker → · Palette generator →

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