#052A40#052A40

#052A40 is a dark, muted cyan. Relative luminance 0.021; OKLCH L 27.2% C 0.057 H 240.3°. Best body text is #FFFFFF at 14.88:1 contrast (WCAG AA passes).

Color values

HEX#052A40
RGBrgb(5, 42, 64)
HSLhsl(202, 86%, 14%)
HSVhsv(202, 92%, 25%)
CMYKcmyk(92.2%, 34.4%, 0%, 74.9%)
CIE-LABlab(15.79, -3.36, -17.53)
CIE-LCHlch(15.79, 17.84, 259.13°)
OKLaboklab(27.23% -0.0284 -0.0497)
OKLCHoklch(27.23% 0.057 240.3)
XYZxyz(1.8156, 2.0581, 5.1511)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052A40 #401B05
analogous
#054038 #052A40 #050C40
triadic
#052A40 #40052A #2A4005
tetradic
#052A40 #380540 #401B05 #0C4005
square
#052A40 #380540 #401B05 #0C4005
split-complementary
#052A40 #40050C #403805
monochromatic
#02131C #02131C #052A40 #094F79 #0E75B2

Accessibility & contrast

On white

14.88
#052A40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#052A40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #052A40
14.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052A40#FFFFFF#000000##FFFFFF
##052A401.0014.881.4114.88
#FFFFFF14.881.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202A41
Deuteranopia (green-blind)
#172540
Tritanopia (blue-blind)
#003032
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #052a40;
/* rgb */ color: rgb(5, 42, 64);
/* oklch */ color: oklch(27.2% 0.057 240.3);
Tailwind
colors: {
  custom: {
    50: '#506375',
    500: '#052a40',
    950: '#000000',
  },
}
SCSS
$custom: #052a40;
$custom-light: #506375;
$custom-dark: #000000;
JSON
{
  "hex": "#052a40",
  "rgb": {
    "r": 5,
    "g": 42,
    "b": 64
  },
  "hsl": {
    "h": 202.373,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.27227,
    "c": 0.05723,
    "h": 240.3
  },
  "luminance": 0.02058
}

Semantic roles & 50–950 ramp

primary
#052A40
secondary
#814420
accent
#7A2CFC
background
#F4F5F7
surface
#E7EAED
border
#C3C6C8
text
#020508
muted
#78797B

Preview Lab

Preview with #052A40

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

Preview Lab → · Contrast checker → · Palette generator →

#052A40 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva