#20538D#20538D

#20538D is a dark, moderate cyan. Relative luminance 0.084; OKLCH L 43.9% C 0.110 H 254.0°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#20538D
RGBrgb(32, 83, 141)
HSLhsl(212, 63%, 34%)
HSVhsv(212, 77%, 55%)
CMYKcmyk(77.3%, 41.1%, 0%, 44.7%)
CIE-LABlab(34.83, 4.44, -37.02)
CIE-LCHlch(34.83, 37.29, 276.84°)
OKLaboklab(43.91% -0.0304 -0.1057)
OKLCHoklch(43.91% 0.11 254)
XYZxyz(8.4948, 8.4157, 26.3708)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20538D #8D5A20
analogous
#208A8D #20538D #24208D
triadic
#20538D #8D2053 #538D20
tetradic
#20538D #8D208A #8D5A20 #208D24
square
#20538D #8D208A #8D5A20 #208D24
split-complementary
#20538D #8D2420 #8A8D20
monochromatic
#091829 #15365B #20538D #2B70BF #508FD7

Accessibility & contrast

On white

7.83
#20538D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#20538D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20538D
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20538D#FFFFFF#000000##FFFFFF
##20538D1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37578F
Deuteranopia (green-blind)
#264D8C
Tritanopia (blue-blind)
#006169
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #20538d;
/* rgb */ color: rgb(32, 83, 141);
/* oklch */ color: oklch(43.9% 0.110 254.0);
Tailwind
colors: {
  custom: {
    50: '#6c82af',
    500: '#20538d',
    950: '#000000',
  },
}
SCSS
$custom: #20538d;
$custom-light: #6c82af;
$custom-dark: #000000;
JSON
{
  "hex": "#20538d",
  "rgb": {
    "r": 32,
    "g": 83,
    "b": 141
  },
  "hsl": {
    "h": 211.927,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43909,
    "c": 0.11,
    "h": 254
  },
  "luminance": 0.08417
}

Semantic roles & 50–950 ramp

primary
#20538D
secondary
#BA884E
accent
#9942E6
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #20538D

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

Preview Lab → · Contrast checker → · Palette generator →

#20538D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva