#052231#052231

#052231 is a very dark, muted cyan. Relative luminance 0.014; OKLCH L 23.9% C 0.045 H 235.3°. Best body text is #FFFFFF at 16.41:1 contrast (WCAG AA passes).

Color values

HEX#052231
RGBrgb(5, 34, 49)
HSLhsl(200, 81%, 11%)
HSVhsv(200, 90%, 19%)
CMYKcmyk(89.8%, 30.6%, 0%, 80.8%)
CIE-LABlab(11.94, -4.38, -12.97)
CIE-LCHlch(11.94, 13.69, 251.33°)
OKLaboklab(23.89% -0.0254 -0.0366)
OKLCHoklch(23.89% 0.045 235.3)
XYZxyz(1.1888, 1.3979, 3.1123)
Luminance0.0140 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052231 #311405
analogous
#05312A #052231 #050C31
triadic
#052231 #310522 #223105
tetradic
#052231 #2A0531 #311405 #0C3105
square
#052231 #2A0531 #311405 #0C3105
split-complementary
#052231 #31050C #312A05
monochromatic
#03131C #03131C #052231 #0B4969 #106FA0

Accessibility & contrast

On white

16.41
#052231 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#052231 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #052231
16.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052231#FFFFFF#000000##FFFFFF
##0522311.0016.411.2816.41
#FFFFFF16.411.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2232
Deuteranopia (green-blind)
#151E31
Tritanopia (blue-blind)
#002627
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #052231;
/* rgb */ color: rgb(5, 34, 49);
/* oklch */ color: oklch(23.9% 0.045 235.3);
Tailwind
colors: {
  custom: {
    50: '#4c5c69',
    500: '#052231',
    950: '#000000',
  },
}
SCSS
$custom: #052231;
$custom-light: #4c5c69;
$custom-dark: #000000;
JSON
{
  "hex": "#052231",
  "rgb": {
    "r": 5,
    "g": 34,
    "b": 49
  },
  "hsl": {
    "h": 200.455,
    "s": 81.481,
    "l": 10.588
  },
  "oklch": {
    "l": 0.23889,
    "c": 0.04452,
    "h": 235.3
  },
  "luminance": 0.01398
}

Semantic roles & 50–950 ramp

primary
#052231
secondary
#723C1F
accent
#7430F8
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#010406
muted
#77797A

Preview Lab

Preview with #052231

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

Preview Lab → · Contrast checker → · Palette generator →

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