#02022D#02022D

#02022D is a very dark, moderate blue. Relative luminance 0.002; OKLCH L 14.4% C 0.086 H 268.4°. Best body text is #FFFFFF at 20.02:1 contrast (WCAG AA passes).

Color values

HEX#02022D
RGBrgb(2, 2, 45)
HSLhsl(240, 91%, 9%)
HSVhsv(240, 96%, 18%)
CMYKcmyk(95.6%, 95.6%, 0%, 82.4%)
CIE-LABlab(2.22, 11.74, -25.45)
CIE-LCHlch(2.22, 28.03, 294.77°)
OKLaboklab(14.4% -0.0024 -0.0865)
OKLCHoklch(14.4% 0.087 268.4)
XYZxyz(0.5202, 0.2457, 2.5021)
Luminance0.0025 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02022D #2D2D02
analogous
#02182D #02022D #18022D
triadic
#02022D #2D0202 #022D02
tetradic
#02022D #2D0218 #2D2D02 #022D18
square
#02022D #2D0218 #2D2D02 #022D18
split-complementary
#02022D #2D1802 #182D02
monochromatic
#01011D #01011D #02022D #050568 #0707A2

Accessibility & contrast

On white

20.02
#02022D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #02022D
20.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02022D#FFFFFF#000000##FFFFFF
##02022D1.0020.021.0520.02
#FFFFFF20.021.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF20.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #02022d;
/* rgb */ color: rgb(2, 2, 45);
/* oklch */ color: oklch(14.4% 0.086 268.4);
Tailwind
colors: {
  custom: {
    50: '#484766',
    500: '#02022d',
    950: '#000000',
  },
}
SCSS
$custom: #02022d;
$custom-light: #484766;
$custom-dark: #000000;
JSON
{
  "hex": "#02022d",
  "rgb": {
    "r": 2,
    "g": 2,
    "b": 45
  },
  "hsl": {
    "h": 240,
    "s": 91.489,
    "l": 9.216
  },
  "oklch": {
    "l": 0.14401,
    "c": 0.0865,
    "h": 268.4
  },
  "luminance": 0.00246
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #02022D

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

Preview Lab → · Contrast checker → · Palette generator →

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