#041222#041222

#041222 is a very dark, muted cyan. Relative luminance 0.006; OKLCH L 17.9% C 0.039 H 251.4°. Best body text is #FFFFFF at 18.84:1 contrast (WCAG AA passes).

Color values

HEX#041222
RGBrgb(4, 18, 34)
HSLhsl(212, 79%, 7%)
HSVhsv(212, 88%, 13%)
CMYKcmyk(88.2%, 47.1%, 0%, 86.7%)
CIE-LABlab(5.18, 0.39, -12.41)
CIE-LCHlch(5.18, 12.41, 271.80°)
OKLaboklab(17.89% -0.0125 -0.0373)
OKLCHoklch(17.89% 0.039 251.4)
XYZxyz(0.5550, 0.5739, 1.5946)
Luminance0.0057 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041222 #221404
analogous
#042122 #041222 #050422
triadic
#041222 #220412 #122204
tetradic
#041222 #220421 #221404 #042205
square
#041222 #220421 #221404 #042205
split-complementary
#041222 #220504 #212204
monochromatic
#030E1B #030E1B #041222 #0A2F59 #114C90

Accessibility & contrast

On white

18.84
#041222 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#041222 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #041222
18.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041222#FFFFFF#000000##FFFFFF
##0412221.0018.841.1118.84
#FFFFFF18.841.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #041222;
/* rgb */ color: rgb(4, 18, 34);
/* oklch */ color: oklch(17.9% 0.039 251.4);
Tailwind
colors: {
  custom: {
    50: '#48505d',
    500: '#041222',
    950: '#000000',
  },
}
SCSS
$custom: #041222;
$custom-light: #48505d;
$custom-dark: #000000;
JSON
{
  "hex": "#041222",
  "rgb": {
    "r": 4,
    "g": 18,
    "b": 34
  },
  "hsl": {
    "h": 212,
    "s": 78.947,
    "l": 7.451
  },
  "oklch": {
    "l": 0.17894,
    "c": 0.03935,
    "h": 251.4
  },
  "luminance": 0.00574
}

Semantic roles & 50–950 ramp

primary
#041222
secondary
#65431D
accent
#9A32F5
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000204
muted
#777879

Preview Lab

Preview with #041222

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

Preview Lab → · Contrast checker → · Palette generator →

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