#02022F#02022F

#02022F is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 14.7% C 0.089 H 268.2°. Best body text is #FFFFFF at 19.95:1 contrast (WCAG AA passes).

Color values

HEX#02022F
RGBrgb(2, 2, 47)
HSLhsl(240, 92%, 10%)
HSVhsv(240, 96%, 18%)
CMYKcmyk(95.7%, 95.7%, 0%, 81.6%)
CIE-LABlab(2.36, 12.75, -26.73)
CIE-LCHlch(2.36, 29.62, 295.49°)
OKLaboklab(14.72% -0.0029 -0.0893)
OKLCHoklch(14.72% 0.089 268.2)
XYZxyz(0.5597, 0.2615, 2.7097)
Luminance0.0026 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02022F #2F2F02
analogous
#02192F #02022F #19022F
triadic
#02022F #2F0202 #022F02
tetradic
#02022F #2F0219 #2F2F02 #022F19
square
#02022F #2F0219 #2F2F02 #022F19
split-complementary
#02022F #2F1902 #192F02
monochromatic
#01011D #01011D #02022F #04046A #0707A4

Accessibility & contrast

On white

19.95
#02022F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #02022F
19.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02022F#FFFFFF#000000##FFFFFF
##02022F1.0019.951.0519.95
#FFFFFF19.951.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF19.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000B30
Deuteranopia (green-blind)
#00062E
Tritanopia (blue-blind)
#000F18
Achromatopsia (no color)
#090909

Design tokens & code

CSS
--color: #02022f;
/* rgb */ color: rgb(2, 2, 47);
/* oklch */ color: oklch(14.7% 0.089 268.2);
Tailwind
colors: {
  custom: {
    50: '#494768',
    500: '#02022f',
    950: '#000000',
  },
}
SCSS
$custom: #02022f;
$custom-light: #494768;
$custom-dark: #000000;
JSON
{
  "hex": "#02022f",
  "rgb": {
    "r": 2,
    "g": 2,
    "b": 47
  },
  "hsl": {
    "h": 240,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.14719,
    "c": 0.08931,
    "h": 268.2
  },
  "luminance": 0.00262
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #02022F

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

Preview Lab → · Contrast checker → · Palette generator →

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