#052A39#052A39

#052A39 is a dark, muted cyan. Relative luminance 0.020; OKLCH L 26.8% C 0.049 H 230.0°. Best body text is #FFFFFF at 15.03:1 contrast (WCAG AA passes).

Color values

HEX#052A39
RGBrgb(5, 42, 57)
HSLhsl(197, 84%, 12%)
HSVhsv(197, 91%, 22%)
CMYKcmyk(91.2%, 26.3%, 0%, 77.6%)
CIE-LABlab(15.40, -6.44, -13.26)
CIE-LCHlch(15.40, 14.74, 244.11°)
OKLaboklab(26.79% -0.0313 -0.0373)
OKLCHoklch(26.79% 0.049 230)
XYZxyz(1.6288, 1.9834, 4.1671)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052A39 #391405
analogous
#05392E #052A39 #051039
triadic
#052A39 #39052A #2A3905
tetradic
#052A39 #2E0539 #391405 #103905
square
#052A39 #2E0539 #391405 #103905
split-complementary
#052A39 #390510 #392E05
monochromatic
#02151C #02151C #052A39 #0A5371 #0F7DAA

Accessibility & contrast

On white

15.03
#052A39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#052A39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #052A39
15.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052A39#FFFFFF#000000##FFFFFF
##052A391.0015.031.4015.03
#FFFFFF15.031.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22293A
Deuteranopia (green-blind)
#1B2439
Tritanopia (blue-blind)
#002E2F
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #052a39;
/* rgb */ color: rgb(5, 42, 57);
/* oklch */ color: oklch(26.8% 0.049 230.0);
Tailwind
colors: {
  custom: {
    50: '#4f636f',
    500: '#052a39',
    950: '#000000',
  },
}
SCSS
$custom: #052a39;
$custom-light: #4f636f;
$custom-dark: #000000;
JSON
{
  "hex": "#052a39",
  "rgb": {
    "r": 5,
    "g": 42,
    "b": 57
  },
  "hsl": {
    "h": 197.308,
    "s": 83.871,
    "l": 12.157
  },
  "oklch": {
    "l": 0.26789,
    "c": 0.04872,
    "h": 230
  },
  "luminance": 0.01984
}

Semantic roles & 50–950 ramp

primary
#052A39
secondary
#7A3A20
accent
#692EFA
background
#F4F5F6
surface
#E7EAEC
border
#C3C6C7
text
#020507
muted
#78797A

Preview Lab

Preview with #052A39

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

Preview Lab → · Contrast checker → · Palette generator →

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