#020023#020023

#020023 is a very dark, moderate blue. Relative luminance 0.001; OKLCH L 12.0% C 0.078 H 271.2°. Best body text is #FFFFFF at 20.45:1 contrast (WCAG AA passes).

Color values

HEX#020023
RGBrgb(2, 0, 35)
HSLhsl(243, 100%, 7%)
HSVhsv(243, 100%, 14%)
CMYKcmyk(94.3%, 100%, 0%, 86.3%)
CIE-LABlab(1.21, 8.22, -19.29)
CIE-LCHlch(1.21, 20.97, 293.08°)
OKLaboklab(11.98% 0.0017 -0.0777)
OKLCHoklch(11.98% 0.078 271.2)
XYZxyz(0.3283, 0.1342, 1.5984)
Luminance0.0013 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020023 #212300
analogous
#001023 #020023 #140023
triadic
#020023 #230200 #002302
tetradic
#020023 #230010 #212300 #002314
square
#020023 #230010 #212300 #002314
split-complementary
#020023 #231400 #102300
monochromatic
#02001F #02001F #020023 #050060 #09009D

Accessibility & contrast

On white

20.45
#020023 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #020023
20.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020023#FFFFFF#000000##FFFFFF
##0200231.0020.451.0320.45
#FFFFFF20.451.0021.001.00
#0000001.0321.001.0021.00
##FFFFFF20.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000624
Deuteranopia (green-blind)
#000322
Tritanopia (blue-blind)
#000810
Achromatopsia (no color)
#040404

Design tokens & code

CSS
--color: #020023;
/* rgb */ color: rgb(2, 0, 35);
/* oklch */ color: oklch(12.0% 0.078 271.2);
Tailwind
colors: {
  custom: {
    50: '#47475e',
    500: '#020023',
    950: '#000000',
  },
}
SCSS
$custom: #020023;
$custom-light: #47475e;
$custom-dark: #000000;
JSON
{
  "hex": "#020023",
  "rgb": {
    "r": 2,
    "g": 0,
    "b": 35
  },
  "hsl": {
    "h": 243.429,
    "s": 100,
    "l": 6.863
  },
  "oklch": {
    "l": 0.1198,
    "c": 0.07769,
    "h": 271.2
  },
  "luminance": 0.00134
}

Semantic roles & 50–950 ramp

primary
#020023
secondary
#676C13
accent
#FF29F3
background
#F4F3F5
surface
#E6E5E9
border
#C2C1C5
text
#000004
muted
#777779

Preview Lab

Preview with #020023

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

Preview Lab → · Contrast checker → · Palette generator →

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