#052131#052131

#052131 is a very dark, muted cyan. Relative luminance 0.013; OKLCH L 23.6% C 0.045 H 237.8°. Best body text is #FFFFFF at 16.56:1 contrast (WCAG AA passes).

Color values

HEX#052131
RGBrgb(5, 33, 49)
HSLhsl(202, 81%, 11%)
HSVhsv(202, 90%, 19%)
CMYKcmyk(89.8%, 32.7%, 0%, 80.8%)
CIE-LABlab(11.56, -3.67, -13.57)
CIE-LCHlch(11.56, 14.05, 254.86°)
OKLaboklab(23.59% -0.0241 -0.0383)
OKLCHoklch(23.59% 0.045 237.8)
XYZxyz(1.1606, 1.3416, 3.1029)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052131 #311505
analogous
#05312B #052131 #050B31
triadic
#052131 #310521 #213105
tetradic
#052131 #2B0531 #311505 #0B3105
square
#052131 #2B0531 #311505 #0B3105
split-complementary
#052131 #31050B #312B05
monochromatic
#03131C #03131C #052131 #0B4669 #106CA0

Accessibility & contrast

On white

16.56
#052131 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #052131
16.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052131#FFFFFF#000000##FFFFFF
##0521311.0016.561.2716.56
#FFFFFF16.561.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192132
Deuteranopia (green-blind)
#131D31
Tritanopia (blue-blind)
#002527
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #052131;
/* rgb */ color: rgb(5, 33, 49);
/* oklch */ color: oklch(23.6% 0.045 237.8);
Tailwind
colors: {
  custom: {
    50: '#4c5c69',
    500: '#052131',
    950: '#000000',
  },
}
SCSS
$custom: #052131;
$custom-light: #4c5c69;
$custom-dark: #000000;
JSON
{
  "hex": "#052131",
  "rgb": {
    "r": 5,
    "g": 33,
    "b": 49
  },
  "hsl": {
    "h": 201.818,
    "s": 81.481,
    "l": 10.588
  },
  "oklch": {
    "l": 0.23586,
    "c": 0.0453,
    "h": 237.8
  },
  "luminance": 0.01342
}

Semantic roles & 50–950 ramp

primary
#052131
secondary
#723E1F
accent
#7930F8
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#010406
muted
#77797A

Preview Lab

Preview with #052131

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

Preview Lab → · Contrast checker → · Palette generator →

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