#052A42#052A42

#052A42 is a dark, muted cyan. Relative luminance 0.021; OKLCH L 27.4% C 0.060 H 242.5°. Best body text is #FFFFFF at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#052A42
RGBrgb(5, 42, 66)
HSLhsl(204, 86%, 14%)
HSVhsv(204, 92%, 26%)
CMYKcmyk(92.4%, 36.4%, 0%, 74.1%)
CIE-LABlab(15.91, -2.47, -18.72)
CIE-LCHlch(15.91, 18.88, 262.48°)
OKLaboklab(27.36% -0.0276 -0.0532)
OKLCHoklch(27.36% 0.06 242.5)
XYZxyz(1.8735, 2.0813, 5.4562)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052A42 #421D05
analogous
#05423C #052A42 #050C42
triadic
#052A42 #42052A #2A4205
tetradic
#052A42 #3C0542 #421D05 #0C4205
square
#052A42 #3C0542 #421D05 #0C4205
split-complementary
#052A42 #42050C #423C05
monochromatic
#02121C #02121C #052A42 #094E7B #0E72B4

Accessibility & contrast

On white

14.83
#052A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#052A42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #052A42
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052A42#FFFFFF#000000##FFFFFF
##052A421.0014.831.4214.83
#FFFFFF14.831.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2B43
Deuteranopia (green-blind)
#162542
Tritanopia (blue-blind)
#003033
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #052a42;
/* rgb */ color: rgb(5, 42, 66);
/* oklch */ color: oklch(27.4% 0.060 242.5);
Tailwind
colors: {
  custom: {
    50: '#516376',
    500: '#052a42',
    950: '#000000',
  },
}
SCSS
$custom: #052a42;
$custom-light: #516376;
$custom-dark: #000000;
JSON
{
  "hex": "#052a42",
  "rgb": {
    "r": 5,
    "g": 42,
    "b": 66
  },
  "hsl": {
    "h": 203.607,
    "s": 85.915,
    "l": 13.922
  },
  "oklch": {
    "l": 0.27361,
    "c": 0.05993,
    "h": 242.5
  },
  "luminance": 0.02082
}

Semantic roles & 50–950 ramp

primary
#052A42
secondary
#824720
accent
#7E2CFC
background
#F4F5F7
surface
#E7EAED
border
#C3C6C8
text
#020508
muted
#78797B

Preview Lab

Preview with #052A42

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

Preview Lab → · Contrast checker → · Palette generator →

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