#042229#042229

#042229 is a very dark, muted cyan. Relative luminance 0.013; OKLCH L 23.4% C 0.037 H 216.3°. Best body text is #FFFFFF at 16.59:1 contrast (WCAG AA passes).

Color values

HEX#042229
RGBrgb(4, 34, 41)
HSLhsl(191, 82%, 9%)
HSVhsv(191, 90%, 16%)
CMYKcmyk(90.2%, 17.1%, 0%, 83.9%)
CIE-LABlab(11.48, -8.09, -7.90)
CIE-LCHlch(11.48, 11.31, 224.33°)
OKLaboklab(23.37% -0.0301 -0.0221)
OKLCHoklch(23.37% 0.037 216.3)
XYZxyz(1.0222, 1.3298, 2.3002)
Luminance0.0133 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042229 #290B04
analogous
#04291E #042229 #041029
triadic
#042229 #290422 #222904
tetradic
#042229 #1E0429 #290B04 #102904
square
#042229 #1E0429 #290B04 #102904
split-complementary
#042229 #290410 #291E04
monochromatic
#03171C #03171C #042229 #095061 #0F7E99

Accessibility & contrast

On white

16.59
#042229 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#042229 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042229
16.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042229#FFFFFF#000000##FFFFFF
##0422291.0016.591.2716.59
#FFFFFF16.591.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2129
Deuteranopia (green-blind)
#181D29
Tritanopia (blue-blind)
#002424
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #042229;
/* rgb */ color: rgb(4, 34, 41);
/* oklch */ color: oklch(23.4% 0.037 216.3);
Tailwind
colors: {
  custom: {
    50: '#4a5d62',
    500: '#042229',
    950: '#000000',
  },
}
SCSS
$custom: #042229;
$custom-light: #4a5d62;
$custom-dark: #000000;
JSON
{
  "hex": "#042229",
  "rgb": {
    "r": 4,
    "g": 34,
    "b": 41
  },
  "hsl": {
    "h": 191.351,
    "s": 82.222,
    "l": 8.824
  },
  "oklch": {
    "l": 0.23369,
    "c": 0.03729,
    "h": 216.3
  },
  "luminance": 0.0133
}

Semantic roles & 50–950 ramp

primary
#042229
secondary
#6C2C1D
accent
#552FF9
background
#F4F5F5
surface
#E7E9EA
border
#C3C5C6
text
#010405
muted
#777979

Preview Lab

Preview with #042229

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

Preview Lab → · Contrast checker → · Palette generator →

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