#052A3F#052A3F

#052A3F is a dark, muted cyan. Relative luminance 0.020; OKLCH L 27.2% C 0.056 H 239.0°. Best body text is #FFFFFF at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#052A3F
RGBrgb(5, 42, 63)
HSLhsl(202, 85%, 13%)
HSVhsv(202, 92%, 25%)
CMYKcmyk(92.1%, 33.3%, 0%, 75.3%)
CIE-LABlab(15.73, -3.81, -16.92)
CIE-LCHlch(15.73, 17.35, 257.31°)
OKLaboklab(27.16% -0.0288 -0.0479)
OKLCHoklch(27.16% 0.056 239)
XYZxyz(1.7874, 2.0469, 5.0025)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052A3F #3F1A05
analogous
#053F37 #052A3F #050D3F
triadic
#052A3F #3F052A #2A3F05
tetradic
#052A3F #37053F #3F1A05 #0D3F05
square
#052A3F #37053F #3F1A05 #0D3F05
split-complementary
#052A3F #3F050D #3F3705
monochromatic
#02131C #02131C #052A3F #095078 #0E76B0

Accessibility & contrast

On white

14.90
#052A3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #052A3F
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052A3F#FFFFFF#000000##FFFFFF
##052A3F1.0014.901.4114.90
#FFFFFF14.901.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202A40
Deuteranopia (green-blind)
#18253F
Tritanopia (blue-blind)
#002F31
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #052a3f;
/* rgb */ color: rgb(5, 42, 63);
/* oklch */ color: oklch(27.2% 0.056 239.0);
Tailwind
colors: {
  custom: {
    50: '#506374',
    500: '#052a3f',
    950: '#000000',
  },
}
SCSS
$custom: #052a3f;
$custom-light: #506374;
$custom-dark: #000000;
JSON
{
  "hex": "#052a3f",
  "rgb": {
    "r": 5,
    "g": 42,
    "b": 63
  },
  "hsl": {
    "h": 201.724,
    "s": 85.294,
    "l": 13.333
  },
  "oklch": {
    "l": 0.27162,
    "c": 0.05592,
    "h": 239
  },
  "luminance": 0.02047
}

Semantic roles & 50–950 ramp

primary
#052A3F
secondary
#804320
accent
#772CFC
background
#F4F5F7
surface
#E7EAED
border
#C3C6C8
text
#020508
muted
#78797B

Preview Lab

Preview with #052A3F

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

Preview Lab → · Contrast checker → · Palette generator →

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