#052F3F#052F3F

#052F3F is a dark, muted cyan. Relative luminance 0.024; OKLCH L 28.6% C 0.052 H 229.0°. Best body text is #FFFFFF at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#052F3F
RGBrgb(5, 47, 63)
HSLhsl(197, 85%, 13%)
HSVhsv(197, 92%, 25%)
CMYKcmyk(92.1%, 25.4%, 0%, 75.3%)
CIE-LABlab(17.57, -7.22, -14.05)
CIE-LCHlch(17.57, 15.80, 242.80°)
OKLaboklab(28.63% -0.0343 -0.0395)
OKLCHoklch(28.63% 0.052 229)
XYZxyz(1.9759, 2.4239, 5.0654)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052F3F #3F1505
analogous
#053F32 #052F3F #05123F
triadic
#052F3F #3F052F #2F3F05
tetradic
#052F3F #32053F #3F1505 #123F05
square
#052F3F #32053F #3F1505 #123F05
split-complementary
#052F3F #3F0512 #3F3205
monochromatic
#02151C #02151C #052F3F #095978 #0E84B0

Accessibility & contrast

On white

14.14
#052F3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#052F3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #052F3F
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052F3F#FFFFFF#000000##FFFFFF
##052F3F1.0014.141.4814.14
#FFFFFF14.141.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272E40
Deuteranopia (green-blind)
#1F293F
Tritanopia (blue-blind)
#003334
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #052f3f;
/* rgb */ color: rgb(5, 47, 63);
/* oklch */ color: oklch(28.6% 0.052 229.0);
Tailwind
colors: {
  custom: {
    50: '#516774',
    500: '#052f3f',
    950: '#000000',
  },
}
SCSS
$custom: #052f3f;
$custom-light: #516774;
$custom-dark: #000000;
JSON
{
  "hex": "#052f3f",
  "rgb": {
    "r": 5,
    "g": 47,
    "b": 63
  },
  "hsl": {
    "h": 196.552,
    "s": 85.294,
    "l": 13.333
  },
  "oklch": {
    "l": 0.28629,
    "c": 0.05238,
    "h": 229
  },
  "luminance": 0.02424
}

Semantic roles & 50–950 ramp

primary
#052F3F
secondary
#803B20
accent
#652CFC
background
#F4F6F7
surface
#E7EBED
border
#C3C6C8
text
#020608
muted
#787A7B

Preview Lab

Preview with #052F3F

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

Preview Lab → · Contrast checker → · Palette generator →

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