#052A47#052A47

#052A47 is a dark, moderate cyan. Relative luminance 0.021; OKLCH L 27.7% C 0.067 H 247.2°. Best body text is #FFFFFF at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#052A47
RGBrgb(5, 42, 71)
HSLhsl(206, 87%, 15%)
HSVhsv(206, 93%, 28%)
CMYKcmyk(93%, 40.8%, 0%, 72.2%)
CIE-LABlab(16.22, -0.21, -21.67)
CIE-LCHlch(16.22, 21.67, 269.44°)
OKLaboklab(27.71% -0.0259 -0.0618)
OKLCHoklch(27.71% 0.067 247.2)
XYZxyz(2.0274, 2.1429, 6.2668)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052A47 #472205
analogous
#054743 #052A47 #050947
triadic
#052A47 #47052A #2A4705
tetradic
#052A47 #430547 #472205 #094705
square
#052A47 #430547 #472205 #094705
split-complementary
#052A47 #470509 #474305
monochromatic
#02111D #02111D #052A47 #094C80 #0D6EB9

Accessibility & contrast

On white

14.70
#052A47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#052A47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #052A47
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052A47#FFFFFF#000000##FFFFFF
##052A471.0014.701.4314.70
#FFFFFF14.701.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2B48
Deuteranopia (green-blind)
#122646
Tritanopia (blue-blind)
#003135
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #052a47;
/* rgb */ color: rgb(5, 42, 71);
/* oklch */ color: oklch(27.7% 0.067 247.2);
Tailwind
colors: {
  custom: {
    50: '#52637a',
    500: '#052a47',
    950: '#000000',
  },
}
SCSS
$custom: #052a47;
$custom-light: #52637a;
$custom-dark: #000000;
JSON
{
  "hex": "#052a47",
  "rgb": {
    "r": 5,
    "g": 42,
    "b": 71
  },
  "hsl": {
    "h": 206.364,
    "s": 86.842,
    "l": 14.902
  },
  "oklch": {
    "l": 0.27708,
    "c": 0.06702,
    "h": 247.2
  },
  "luminance": 0.02143
}

Semantic roles & 50–950 ramp

primary
#052A47
secondary
#874E21
accent
#872BFD
background
#F5F5F7
surface
#E8EAED
border
#C4C6C8
text
#030509
muted
#78797B

Preview Lab

Preview with #052A47

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

Preview Lab → · Contrast checker → · Palette generator →

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