#052128#052128

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

Color values

HEX#052128
RGBrgb(5, 33, 40)
HSLhsl(192, 78%, 9%)
HSVhsv(192, 88%, 16%)
CMYKcmyk(87.5%, 17.5%, 0%, 84.3%)
CIE-LABlab(11.09, -7.58, -7.78)
CIE-LCHlch(11.09, 10.86, 225.74°)
OKLaboklab(23.05% -0.0284 -0.0217)
OKLCHoklch(23.05% 0.036 217.4)
XYZxyz(0.9893, 1.2731, 2.2007)
Luminance0.0127 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052128 #280C05
analogous
#05281E #052128 #051028
triadic
#052128 #280521 #212805
tetradic
#052128 #1E0528 #280C05 #102805
square
#052128 #1E0528 #280C05 #102805
split-complementary
#052128 #280510 #281E05
monochromatic
#03161B #03161B #052128 #0C4E5E #137B95

Accessibility & contrast

On white

16.74
#052128 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #052128
16.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052128#FFFFFF#000000##FFFFFF
##0521281.0016.741.2516.74
#FFFFFF16.741.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2028
Deuteranopia (green-blind)
#171C28
Tritanopia (blue-blind)
#002323
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #052128;
/* rgb */ color: rgb(5, 33, 40);
/* oklch */ color: oklch(23.0% 0.036 217.4);
Tailwind
colors: {
  custom: {
    50: '#4a5c61',
    500: '#052128',
    950: '#000000',
  },
}
SCSS
$custom: #052128;
$custom-light: #4a5c61;
$custom-dark: #000000;
JSON
{
  "hex": "#052128",
  "rgb": {
    "r": 5,
    "g": 33,
    "b": 40
  },
  "hsl": {
    "h": 192,
    "s": 77.778,
    "l": 8.824
  },
  "oklch": {
    "l": 0.23047,
    "c": 0.03573,
    "h": 217.4
  },
  "luminance": 0.01273
}

Semantic roles & 50–950 ramp

primary
#052128
secondary
#6A2E1F
accent
#5A34F4
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#010405
muted
#777979

Preview Lab

Preview with #052128

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

Preview Lab → · Contrast checker → · Palette generator →

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