#070221#070221

#070221 is a very dark, moderate blue. Relative luminance 0.002; OKLCH L 13.3% C 0.066 H 283.9°. Best body text is #FFFFFF at 20.20:1 contrast (WCAG AA passes).

Color values

HEX#070221
RGBrgb(7, 2, 33)
HSLhsl(250, 89%, 7%)
HSVhsv(250, 94%, 13%)
CMYKcmyk(78.8%, 93.9%, 0%, 87.1%)
CIE-LABlab(1.79, 8.00, -16.80)
CIE-LCHlch(1.79, 18.61, 295.45°)
OKLaboklab(13.32% 0.016 -0.0644)
OKLCHoklch(13.32% 0.066 283.9)
XYZxyz(0.3838, 0.1984, 1.4566)
Luminance0.0020 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070221 #1C2102
analogous
#020D21 #070221 #170221
triadic
#070221 #210702 #022107
tetradic
#070221 #21020D #1C2102 #022117
square
#070221 #21020D #1C2102 #022117
split-complementary
#070221 #211702 #0D2102
monochromatic
#06021D #06021D #070221 #13055B #1F0994

Accessibility & contrast

On white

20.20
#070221 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.04
#070221 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #070221
20.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070221#FFFFFF#000000##FFFFFF
##0702211.0020.201.0420.20
#FFFFFF20.201.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000722
Deuteranopia (green-blind)
#000620
Tritanopia (blue-blind)
#000910
Achromatopsia (no color)
#070707

Design tokens & code

CSS
--color: #070221;
/* rgb */ color: rgb(7, 2, 33);
/* oklch */ color: oklch(13.3% 0.066 283.9);
Tailwind
colors: {
  custom: {
    50: '#49475c',
    500: '#070221',
    950: '#000000',
  },
}
SCSS
$custom: #070221;
$custom-light: #49475c;
$custom-dark: #000000;
JSON
{
  "hex": "#070221",
  "rgb": {
    "r": 7,
    "g": 2,
    "b": 33
  },
  "hsl": {
    "h": 249.677,
    "s": 88.571,
    "l": 6.863
  },
  "oklch": {
    "l": 0.13323,
    "c": 0.06637,
    "h": 283.9
  },
  "luminance": 0.00198
}

Semantic roles & 50–950 ramp

primary
#070221
secondary
#5A6718
accent
#FF29DC
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#010004
muted
#777779

Preview Lab

Preview with #070221

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

Preview Lab → · Contrast checker → · Palette generator →

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