#20528B#20528B

#20528B is a dark, moderate cyan. Relative luminance 0.082; OKLCH L 43.5% C 0.108 H 254.0°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#20528B
RGBrgb(32, 82, 139)
HSLhsl(212, 63%, 34%)
HSVhsv(212, 77%, 55%)
CMYKcmyk(77%, 41%, 0%, 45.5%)
CIE-LABlab(34.41, 4.31, -36.48)
CIE-LCHlch(34.41, 36.74, 276.73°)
OKLaboklab(43.54% -0.0299 -0.1042)
OKLCHoklch(43.54% 0.108 254)
XYZxyz(8.2714, 8.2048, 25.5688)
Luminance0.0821 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20528B #8B5920
analogous
#20878B #20528B #24208B
triadic
#20528B #8B2052 #528B20
tetradic
#20528B #8B2087 #8B5920 #208B24
square
#20528B #8B2087 #8B5920 #208B24
split-complementary
#20528B #8B2420 #878B20
monochromatic
#091728 #153559 #20528B #2B6FBD #4F8ED6

Accessibility & contrast

On white

7.95
#20528B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#20528B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20528B
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20528B#FFFFFF#000000##FFFFFF
##20528B1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37568D
Deuteranopia (green-blind)
#264C8A
Tritanopia (blue-blind)
#005F67
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #20528b;
/* rgb */ color: rgb(32, 82, 139);
/* oklch */ color: oklch(43.5% 0.108 254.0);
Tailwind
colors: {
  custom: {
    50: '#6b82ad',
    500: '#20528b',
    950: '#000000',
  },
}
SCSS
$custom: #20528b;
$custom-light: #6b82ad;
$custom-dark: #000000;
JSON
{
  "hex": "#20528b",
  "rgb": {
    "r": 32,
    "g": 82,
    "b": 139
  },
  "hsl": {
    "h": 211.963,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43536,
    "c": 0.10838,
    "h": 254
  },
  "luminance": 0.08206
}

Semantic roles & 50–950 ramp

primary
#20528B
secondary
#BA874D
accent
#9942E6
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #20528B

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

Preview Lab → · Contrast checker → · Palette generator →

#20528B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva