#052541#052541

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

Color values

HEX#052541
RGBrgb(5, 37, 65)
HSLhsl(208, 86%, 14%)
HSVhsv(208, 92%, 25%)
CMYKcmyk(92.3%, 43.1%, 0%, 74.5%)
CIE-LABlab(14.04, 0.71, -20.99)
CIE-LCHlch(14.04, 21.00, 271.92°)
OKLaboklab(25.87% -0.0228 -0.0599)
OKLCHoklch(25.87% 0.064 249.2)
XYZxyz(1.6779, 1.7368, 5.2468)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052541 #412105
analogous
#05413F #052541 #050741
triadic
#052541 #410525 #254105
tetradic
#052541 #3F0541 #412105 #074105
square
#052541 #3F0541 #412105 #074105
split-complementary
#052541 #410507 #413F05
monochromatic
#02101C #02101C #052541 #09457A #0E66B3

Accessibility & contrast

On white

15.59
#052541 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #052541
15.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052541#FFFFFF#000000##FFFFFF
##0525411.0015.591.3515.59
#FFFFFF15.591.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182742
Deuteranopia (green-blind)
#0E2140
Tritanopia (blue-blind)
#002C2F
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #052541;
/* rgb */ color: rgb(5, 37, 65);
/* oklch */ color: oklch(25.9% 0.064 249.2);
Tailwind
colors: {
  custom: {
    50: '#515f76',
    500: '#052541',
    950: '#000000',
  },
}
SCSS
$custom: #052541;
$custom-light: #515f76;
$custom-dark: #000000;
JSON
{
  "hex": "#052541",
  "rgb": {
    "r": 5,
    "g": 37,
    "b": 65
  },
  "hsl": {
    "h": 208,
    "s": 85.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.25869,
    "c": 0.06409,
    "h": 249.2
  },
  "luminance": 0.01737
}

Semantic roles & 50–950 ramp

primary
#052541
secondary
#814E20
accent
#8D2CFC
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020408
muted
#78797B

Preview Lab

Preview with #052541

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

Preview Lab → · Contrast checker → · Palette generator →

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