#052139#052139

#052139 is a very dark, muted cyan. Relative luminance 0.014; OKLCH L 24.1% C 0.057 H 248.2°. Best body text is #FFFFFF at 16.37:1 contrast (WCAG AA passes).

Color values

HEX#052139
RGBrgb(5, 33, 57)
HSLhsl(208, 84%, 12%)
HSVhsv(208, 91%, 22%)
CMYKcmyk(91.2%, 42.1%, 0%, 77.6%)
CIE-LABlab(12.06, -0.01, -18.51)
CIE-LCHlch(12.06, 18.51, 269.96°)
OKLaboklab(24.14% -0.0211 -0.0527)
OKLCHoklch(24.14% 0.057 248.2)
XYZxyz(1.3447, 1.4152, 4.0724)
Luminance0.0141 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052139 #391D05
analogous
#053937 #052139 #050739
triadic
#052139 #390521 #213905
tetradic
#052139 #370539 #391D05 #073905
square
#052139 #370539 #391D05 #073905
split-complementary
#052139 #390507 #393705
monochromatic
#02101C #02101C #052139 #0A4271 #0F62AA

Accessibility & contrast

On white

16.37
#052139 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #052139
16.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052139#FFFFFF#000000##FFFFFF
##0521391.0016.371.2816.37
#FFFFFF16.371.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16223A
Deuteranopia (green-blind)
#0E1D39
Tritanopia (blue-blind)
#00272A
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #052139;
/* rgb */ color: rgb(5, 33, 57);
/* oklch */ color: oklch(24.1% 0.057 248.2);
Tailwind
colors: {
  custom: {
    50: '#4e5b6f',
    500: '#052139',
    950: '#000000',
  },
}
SCSS
$custom: #052139;
$custom-light: #4e5b6f;
$custom-dark: #000000;
JSON
{
  "hex": "#052139",
  "rgb": {
    "r": 5,
    "g": 33,
    "b": 57
  },
  "hsl": {
    "h": 207.692,
    "s": 83.871,
    "l": 12.157
  },
  "oklch": {
    "l": 0.2414,
    "c": 0.05681,
    "h": 248.2
  },
  "luminance": 0.01415
}

Semantic roles & 50–950 ramp

primary
#052139
secondary
#7A4920
accent
#8C2EFA
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020407
muted
#78797A

Preview Lab

Preview with #052139

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

Preview Lab → · Contrast checker → · Palette generator →

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