#052127#052127

#052127 is a very dark, muted cyan. Relative luminance 0.013; OKLCH L 23.0% C 0.035 H 214.5°. Best body text is #FFFFFF at 16.76:1 contrast (WCAG AA passes).

Color values

HEX#052127
RGBrgb(5, 33, 39)
HSLhsl(191, 77%, 9%)
HSVhsv(191, 87%, 15%)
CMYKcmyk(87.2%, 15.4%, 0%, 84.7%)
CIE-LABlab(11.04, -7.99, -7.12)
CIE-LCHlch(11.04, 10.71, 221.70°)
OKLaboklab(22.99% -0.0289 -0.0198)
OKLCHoklch(22.99% 0.035 214.5)
XYZxyz(0.9725, 1.2663, 2.1122)
Luminance0.0127 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052127 #270B05
analogous
#05271C #052127 #051027
triadic
#052127 #270521 #212705
tetradic
#052127 #1C0527 #270B05 #102705
square
#052127 #1C0527 #270B05 #102705
split-complementary
#052127 #270510 #271C05
monochromatic
#03171B #03171B #052127 #0C4F5D #137D93

Accessibility & contrast

On white

16.76
#052127 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#052127 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #052127
16.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052127#FFFFFF#000000##FFFFFF
##0521271.0016.761.2516.76
#FFFFFF16.761.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2027
Deuteranopia (green-blind)
#181C27
Tritanopia (blue-blind)
#002323
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #052127;
/* rgb */ color: rgb(5, 33, 39);
/* oklch */ color: oklch(23.0% 0.035 214.5);
Tailwind
colors: {
  custom: {
    50: '#4a5c61',
    500: '#052127',
    950: '#000000',
  },
}
SCSS
$custom: #052127;
$custom-light: #4a5c61;
$custom-dark: #000000;
JSON
{
  "hex": "#052127",
  "rgb": {
    "r": 5,
    "g": 33,
    "b": 39
  },
  "hsl": {
    "h": 190.588,
    "s": 77.273,
    "l": 8.627
  },
  "oklch": {
    "l": 0.22993,
    "c": 0.03506,
    "h": 214.5
  },
  "luminance": 0.01266
}

Semantic roles & 50–950 ramp

primary
#052127
secondary
#692C1F
accent
#5634F4
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#010405
muted
#777979

Preview Lab

Preview with #052127

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

Preview Lab → · Contrast checker → · Palette generator →

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