#052F42#052F42

#052F42 is a dark, muted cyan. Relative luminance 0.025; OKLCH L 28.8% C 0.056 H 233.6°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#052F42
RGBrgb(5, 47, 66)
HSLhsl(199, 86%, 14%)
HSVhsv(199, 92%, 26%)
CMYKcmyk(92.4%, 28.8%, 0%, 74.1%)
CIE-LABlab(17.73, -5.93, -15.86)
CIE-LCHlch(17.73, 16.94, 249.49°)
OKLaboklab(28.81% -0.0331 -0.0448)
OKLCHoklch(28.81% 0.056 233.6)
XYZxyz(2.0621, 2.4584, 5.5190)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052F42 #421805
analogous
#054237 #052F42 #051142
triadic
#052F42 #42052F #2F4205
tetradic
#052F42 #370542 #421805 #114205
square
#052F42 #370542 #421805 #114205
split-complementary
#052F42 #420511 #423705
monochromatic
#02141C #02141C #052F42 #09587B #0E80B4

Accessibility & contrast

On white

14.08
#052F42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#052F42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #052F42
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052F42#FFFFFF#000000##FFFFFF
##052F421.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262F43
Deuteranopia (green-blind)
#1D2942
Tritanopia (blue-blind)
#003435
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #052f42;
/* rgb */ color: rgb(5, 47, 66);
/* oklch */ color: oklch(28.8% 0.056 233.6);
Tailwind
colors: {
  custom: {
    50: '#516776',
    500: '#052f42',
    950: '#000000',
  },
}
SCSS
$custom: #052f42;
$custom-light: #516776;
$custom-dark: #000000;
JSON
{
  "hex": "#052f42",
  "rgb": {
    "r": 5,
    "g": 47,
    "b": 66
  },
  "hsl": {
    "h": 198.689,
    "s": 85.915,
    "l": 13.922
  },
  "oklch": {
    "l": 0.28807,
    "c": 0.05567,
    "h": 233.6
  },
  "luminance": 0.02459
}

Semantic roles & 50–950 ramp

primary
#052F42
secondary
#823F20
accent
#6D2CFC
background
#F4F6F7
surface
#E7EBED
border
#C3C6C8
text
#020608
muted
#787A7B

Preview Lab

Preview with #052F42

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

Preview Lab → · Contrast checker → · Palette generator →

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