#071222#071222

#071222 is a very dark, muted blue. Relative luminance 0.006; OKLCH L 18.1% C 0.037 H 257.2°. Best body text is #FFFFFF at 18.77:1 contrast (WCAG AA passes).

Color values

HEX#071222
RGBrgb(7, 18, 34)
HSLhsl(216, 66%, 8%)
HSVhsv(216, 79%, 13%)
CMYKcmyk(79.4%, 47.1%, 0%, 86.7%)
CIE-LABlab(5.36, 1.18, -12.12)
CIE-LCHlch(5.36, 12.18, 275.55°)
OKLaboklab(18.14% -0.0082 -0.0361)
OKLCHoklch(18.14% 0.037 257.2)
XYZxyz(0.5926, 0.5932, 1.5963)
Luminance0.0059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071222 #221707
analogous
#071F22 #071222 #090722
triadic
#071222 #220712 #122207
tetradic
#071222 #22071F #221707 #072209
square
#071222 #22071F #221707 #072209
split-complementary
#071222 #220907 #1F2207
monochromatic
#050D19 #050D19 #071222 #112D55 #1C4888

Accessibility & contrast

On white

18.77
#071222 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#071222 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #071222
18.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071222#FFFFFF#000000##FFFFFF
##0712221.0018.771.1218.77
#FFFFFF18.771.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B1323
Deuteranopia (green-blind)
#081122
Tritanopia (blue-blind)
#001618
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #071222;
/* rgb */ color: rgb(7, 18, 34);
/* oklch */ color: oklch(18.1% 0.037 257.2);
Tailwind
colors: {
  custom: {
    50: '#4a505d',
    500: '#071222',
    950: '#000000',
  },
}
SCSS
$custom: #071222;
$custom-light: #4a505d;
$custom-dark: #000000;
JSON
{
  "hex": "#071222",
  "rgb": {
    "r": 7,
    "g": 18,
    "b": 34
  },
  "hsl": {
    "h": 215.556,
    "s": 65.854,
    "l": 8.039
  },
  "oklch": {
    "l": 0.18138,
    "c": 0.03703,
    "h": 257.2
  },
  "luminance": 0.00593
}

Semantic roles & 50–950 ramp

primary
#071222
secondary
#614824
accent
#A43FE9
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010204
muted
#777879

Preview Lab

Preview with #071222

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

Preview Lab → · Contrast checker → · Palette generator →

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