#052542#052542

#052542 is a dark, moderate cyan. Relative luminance 0.017; OKLCH L 25.9% C 0.066 H 250.0°. Best body text is #FFFFFF at 15.56:1 contrast (WCAG AA passes).

Color values

HEX#052542
RGBrgb(5, 37, 66)
HSLhsl(209, 86%, 14%)
HSVhsv(209, 92%, 26%)
CMYKcmyk(92.4%, 43.9%, 0%, 74.1%)
CIE-LABlab(14.11, 1.17, -21.57)
CIE-LCHlch(14.11, 21.61, 273.09°)
OKLaboklab(25.94% -0.0225 -0.0616)
OKLCHoklch(25.94% 0.066 250)
XYZxyz(1.7071, 1.7485, 5.4007)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052542 #422205
analogous
#054241 #052542 #050642
triadic
#052542 #420525 #254205
tetradic
#052542 #410542 #422205 #064205
square
#052542 #410542 #422205 #064205
split-complementary
#052542 #420506 #424105
monochromatic
#02101C #02101C #052542 #09457B #0E65B4

Accessibility & contrast

On white

15.56
#052542 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#052542 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #052542
15.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052542#FFFFFF#000000##FFFFFF
##0525421.0015.561.3515.56
#FFFFFF15.561.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172743
Deuteranopia (green-blind)
#0D2141
Tritanopia (blue-blind)
#002C30
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #052542;
/* rgb */ color: rgb(5, 37, 66);
/* oklch */ color: oklch(25.9% 0.066 250.0);
Tailwind
colors: {
  custom: {
    50: '#515f76',
    500: '#052542',
    950: '#000000',
  },
}
SCSS
$custom: #052542;
$custom-light: #515f76;
$custom-dark: #000000;
JSON
{
  "hex": "#052542",
  "rgb": {
    "r": 5,
    "g": 37,
    "b": 66
  },
  "hsl": {
    "h": 208.525,
    "s": 85.915,
    "l": 13.922
  },
  "oklch": {
    "l": 0.25943,
    "c": 0.0656,
    "h": 250
  },
  "luminance": 0.01749
}

Semantic roles & 50–950 ramp

primary
#052542
secondary
#824F20
accent
#8F2CFC
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020408
muted
#78797B

Preview Lab

Preview with #052542

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

Preview Lab → · Contrast checker → · Palette generator →

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