#020722#020722

#020722 is a very dark, muted blue. Relative luminance 0.003; OKLCH L 14.5% C 0.059 H 265.9°. Best body text is #FFFFFF at 19.89:1 contrast (WCAG AA passes).

Color values

HEX#020722
RGBrgb(2, 7, 34)
HSLhsl(231, 89%, 7%)
HSVhsv(231, 94%, 13%)
CMYKcmyk(94.1%, 79.4%, 0%, 86.7%)
CIE-LABlab(2.53, 5.05, -16.48)
CIE-LCHlch(2.53, 17.24, 287.02°)
OKLaboklab(14.46% -0.0042 -0.0585)
OKLCHoklch(14.46% 0.059 265.9)
XYZxyz(0.3896, 0.2803, 1.5466)
Luminance0.0028 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020722 #221D02
analogous
#021722 #020722 #0D0222
triadic
#020722 #220207 #072202
tetradic
#020722 #220217 #221D02 #02220D
square
#020722 #220217 #221D02 #02220D
split-complementary
#020722 #220D02 #172202
monochromatic
#02061D #02061D #020722 #05135C #091F96

Accessibility & contrast

On white

19.89
#020722 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.06
#020722 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #020722
19.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020722#FFFFFF#000000##FFFFFF
##0207221.0019.891.0619.89
#FFFFFF19.891.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000B23
Deuteranopia (green-blind)
#000821
Tritanopia (blue-blind)
#000E13
Achromatopsia (no color)
#090909

Design tokens & code

CSS
--color: #020722;
/* rgb */ color: rgb(2, 7, 34);
/* oklch */ color: oklch(14.5% 0.059 265.9);
Tailwind
colors: {
  custom: {
    50: '#474a5d',
    500: '#020722',
    950: '#000000',
  },
}
SCSS
$custom: #020722;
$custom-light: #474a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#020722",
  "rgb": {
    "r": 2,
    "g": 7,
    "b": 34
  },
  "hsl": {
    "h": 230.625,
    "s": 88.889,
    "l": 7.059
  },
  "oklch": {
    "l": 0.1446,
    "c": 0.05868,
    "h": 265.9
  },
  "luminance": 0.0028
}

Semantic roles & 50–950 ramp

primary
#020722
secondary
#685B18
accent
#DE29FF
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000104
muted
#777779

Preview Lab

Preview with #020722

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

Preview Lab → · Contrast checker → · Palette generator →

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