#052038#052038

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

Color values

HEX#052038
RGBrgb(5, 32, 56)
HSLhsl(208, 84%, 12%)
HSVhsv(208, 91%, 22%)
CMYKcmyk(91.1%, 42.9%, 0%, 78%)
CIE-LABlab(11.63, 0.27, -18.48)
CIE-LCHlch(11.63, 18.49, 270.84°)
OKLaboklab(23.78% -0.0204 -0.0527)
OKLCHoklch(23.78% 0.057 248.8)
XYZxyz(1.2926, 1.3507, 3.9332)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052038 #381D05
analogous
#053837 #052038 #050738
triadic
#052038 #380520 #203805
tetradic
#052038 #370538 #381D05 #073805
square
#052038 #370538 #381D05 #073805
split-complementary
#052038 #380507 #383705
monochromatic
#03101C #03101C #052038 #0A4070 #0F60A8

Accessibility & contrast

On white

16.53
#052038 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #052038
16.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052038#FFFFFF#000000##FFFFFF
##0520381.0016.531.2716.53
#FFFFFF16.531.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152139
Deuteranopia (green-blind)
#0D1D38
Tritanopia (blue-blind)
#002629
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #052038;
/* rgb */ color: rgb(5, 32, 56);
/* oklch */ color: oklch(23.8% 0.057 248.8);
Tailwind
colors: {
  custom: {
    50: '#4e5b6e',
    500: '#052038',
    950: '#000000',
  },
}
SCSS
$custom: #052038;
$custom-light: #4e5b6e;
$custom-dark: #000000;
JSON
{
  "hex": "#052038",
  "rgb": {
    "r": 5,
    "g": 32,
    "b": 56
  },
  "hsl": {
    "h": 208.235,
    "s": 83.607,
    "l": 11.961
  },
  "oklch": {
    "l": 0.23778,
    "c": 0.0565,
    "h": 248.8
  },
  "luminance": 0.01351
}

Semantic roles & 50–950 ramp

primary
#052038
secondary
#794A20
accent
#8E2EFA
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020407
muted
#78797A

Preview Lab

Preview with #052038

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

Preview Lab → · Contrast checker → · Palette generator →

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