#041820#041820

#041820 is a very dark, muted cyan. Relative luminance 0.008; OKLCH L 19.7% C 0.031 H 226.4°. Best body text is #FFFFFF at 18.16:1 contrast (WCAG AA passes).

Color values

HEX#041820
RGBrgb(4, 24, 32)
HSLhsl(197, 78%, 7%)
HSVhsv(197, 88%, 13%)
CMYKcmyk(87.5%, 25%, 0%, 87.5%)
CIE-LABlab(7.08, -4.39, -7.99)
CIE-LCHlch(7.08, 9.11, 241.19°)
OKLaboklab(19.65% -0.0215 -0.0225)
OKLCHoklch(19.65% 0.031 226.4)
XYZxyz(0.6373, 0.7833, 1.4838)
Luminance0.0078 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041820 #200C04
analogous
#04201A #041820 #040A20
triadic
#041820 #200418 #182004
tetradic
#041820 #1A0420 #200C04 #0A2004
square
#041820 #1A0420 #200C04 #0A2004
split-complementary
#041820 #20040A #201A04
monochromatic
#03141B #03141B #041820 #0B4156 #126A8D

Accessibility & contrast

On white

18.16
#041820 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#041820 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #041820
18.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041820#FFFFFF#000000##FFFFFF
##0418201.0018.161.1618.16
#FFFFFF18.161.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141720
Deuteranopia (green-blind)
#101420
Tritanopia (blue-blind)
#001A1B
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #041820;
/* rgb */ color: rgb(4, 24, 32);
/* oklch */ color: oklch(19.7% 0.031 226.4);
Tailwind
colors: {
  custom: {
    50: '#48545b',
    500: '#041820',
    950: '#000000',
  },
}
SCSS
$custom: #041820;
$custom-light: #48545b;
$custom-dark: #000000;
JSON
{
  "hex": "#041820",
  "rgb": {
    "r": 4,
    "g": 24,
    "b": 32
  },
  "hsl": {
    "h": 197.143,
    "s": 77.778,
    "l": 7.059
  },
  "oklch": {
    "l": 0.19651,
    "c": 0.03112,
    "h": 226.4
  },
  "luminance": 0.00783
}

Semantic roles & 50–950 ramp

primary
#041820
secondary
#63311D
accent
#6B34F4
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000204
muted
#777879

Preview Lab

Preview with #041820

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

Preview Lab → · Contrast checker → · Palette generator →

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