#020024#020024

#020024 is a very dark, moderate blue. Relative luminance 0.001; OKLCH L 12.2% C 0.079 H 270.9°. Best body text is #FFFFFF at 20.43:1 contrast (WCAG AA passes).

Color values

HEX#020024
RGBrgb(2, 0, 36)
HSLhsl(243, 100%, 7%)
HSVhsv(243, 100%, 14%)
CMYKcmyk(94.4%, 100%, 0%, 85.9%)
CIE-LABlab(1.27, 8.61, -20.00)
CIE-LCHlch(1.27, 21.77, 293.29°)
OKLaboklab(12.16% 0.0013 -0.079)
OKLCHoklch(12.16% 0.079 270.9)
XYZxyz(0.3434, 0.1402, 1.6777)
Luminance0.0014 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020024 #222400
analogous
#001024 #020024 #140024
triadic
#020024 #240200 #002402
tetradic
#020024 #240010 #222400 #002414
square
#020024 #240010 #222400 #002414
split-complementary
#020024 #241400 #102400
monochromatic
#02001F #02001F #020024 #050061 #09009E

Accessibility & contrast

On white

20.43
#020024 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.03
#020024 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #020024
20.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020024#FFFFFF#000000##FFFFFF
##0200241.0020.431.0320.43
#FFFFFF20.431.0021.001.00
#0000001.0321.001.0021.00
##FFFFFF20.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000625
Deuteranopia (green-blind)
#000323
Tritanopia (blue-blind)
#000810
Achromatopsia (no color)
#050505

Design tokens & code

CSS
--color: #020024;
/* rgb */ color: rgb(2, 0, 36);
/* oklch */ color: oklch(12.2% 0.079 270.9);
Tailwind
colors: {
  custom: {
    50: '#47475e',
    500: '#020024',
    950: '#000000',
  },
}
SCSS
$custom: #020024;
$custom-light: #47475e;
$custom-dark: #000000;
JSON
{
  "hex": "#020024",
  "rgb": {
    "r": 2,
    "g": 0,
    "b": 36
  },
  "hsl": {
    "h": 243.333,
    "s": 100,
    "l": 7.059
  },
  "oklch": {
    "l": 0.12157,
    "c": 0.07904,
    "h": 270.9
  },
  "luminance": 0.0014
}

Semantic roles & 50–950 ramp

primary
#020024
secondary
#686D13
accent
#FF29F3
background
#F4F3F5
surface
#E6E5E9
border
#C2C1C5
text
#000004
muted
#777779

Preview Lab

Preview with #020024

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

Preview Lab → · Contrast checker → · Palette generator →

#020024 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva