#052041#052041

#052041 is a very dark, moderate cyan. Relative luminance 0.014; OKLCH L 24.5% C 0.071 H 255.4°. Best body text is #FFFFFF at 16.29:1 contrast (WCAG AA passes).

Color values

HEX#052041
RGBrgb(5, 32, 65)
HSLhsl(213, 86%, 14%)
HSVhsv(213, 92%, 25%)
CMYKcmyk(92.3%, 50.8%, 0%, 74.5%)
CIE-LABlab(12.27, 4.49, -23.82)
CIE-LCHlch(12.27, 24.24, 280.68°)
OKLaboklab(24.48% -0.0178 -0.0684)
OKLCHoklch(24.48% 0.071 255.4)
XYZxyz(1.5329, 1.4468, 5.1985)
Luminance0.0145 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052041 #412605
analogous
#053E41 #052041 #080541
triadic
#052041 #410520 #204105
tetradic
#052041 #41053E #412605 #054108
square
#052041 #41053E #412605 #054108
split-complementary
#052041 #410805 #3E4105
monochromatic
#020E1C #020E1C #052041 #093C7A #0E58B3

Accessibility & contrast

On white

16.29
#052041 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#052041 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #052041
16.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052041#FFFFFF#000000##FFFFFF
##0520411.0016.291.2916.29
#FFFFFF16.291.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F2342
Deuteranopia (green-blind)
#031E40
Tritanopia (blue-blind)
#00282D
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #052041;
/* rgb */ color: rgb(5, 32, 65);
/* oklch */ color: oklch(24.5% 0.071 255.4);
Tailwind
colors: {
  custom: {
    50: '#515a76',
    500: '#052041',
    950: '#000000',
  },
}
SCSS
$custom: #052041;
$custom-light: #515a76;
$custom-dark: #000000;
JSON
{
  "hex": "#052041",
  "rgb": {
    "r": 5,
    "g": 32,
    "b": 65
  },
  "hsl": {
    "h": 213,
    "s": 85.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.24484,
    "c": 0.07065,
    "h": 255.4
  },
  "luminance": 0.01447
}

Semantic roles & 50–950 ramp

primary
#052041
secondary
#815620
accent
#9E2CFC
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020308
muted
#78787B

Preview Lab

Preview with #052041

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

Preview Lab → · Contrast checker → · Palette generator →

#052041 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva