#052229#052229

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

Color values

HEX#052229
RGBrgb(5, 34, 41)
HSLhsl(192, 78%, 9%)
HSVhsv(192, 88%, 16%)
CMYKcmyk(87.8%, 17.1%, 0%, 83.9%)
CIE-LABlab(11.53, -7.84, -7.83)
CIE-LCHlch(11.53, 11.08, 224.98°)
OKLaboklab(23.42% -0.0292 -0.0218)
OKLCHoklch(23.42% 0.036 216.8)
XYZxyz(1.0347, 1.3363, 2.3008)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052229 #290C05
analogous
#05291E #052229 #051029
triadic
#052229 #290522 #222905
tetradic
#052229 #1E0529 #290C05 #102905
square
#052229 #1E0529 #290C05 #102905
split-complementary
#052229 #290510 #291E05
monochromatic
#03171B #03171B #052229 #0C4F60 #127C96

Accessibility & contrast

On white

16.57
#052229 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #052229
16.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052229#FFFFFF#000000##FFFFFF
##0522291.0016.571.2716.57
#FFFFFF16.571.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #052229;
/* rgb */ color: rgb(5, 34, 41);
/* oklch */ color: oklch(23.4% 0.036 216.8);
Tailwind
colors: {
  custom: {
    50: '#4b5d62',
    500: '#052229',
    950: '#000000',
  },
}
SCSS
$custom: #052229;
$custom-light: #4b5d62;
$custom-dark: #000000;
JSON
{
  "hex": "#052229",
  "rgb": {
    "r": 5,
    "g": 34,
    "b": 41
  },
  "hsl": {
    "h": 191.667,
    "s": 78.261,
    "l": 9.02
  },
  "oklch": {
    "l": 0.23417,
    "c": 0.03645,
    "h": 216.8
  },
  "luminance": 0.01336
}

Semantic roles & 50–950 ramp

primary
#052229
secondary
#6B2E1F
accent
#5933F5
background
#F4F5F5
surface
#E7E9EA
border
#C3C5C6
text
#010405
muted
#777979

Preview Lab

Preview with #052229

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

Preview Lab → · Contrast checker → · Palette generator →

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