#20538E#20538E

#20538E is a dark, moderate cyan. Relative luminance 0.084; OKLCH L 44.0% C 0.111 H 254.3°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#20538E
RGBrgb(32, 83, 142)
HSLhsl(212, 63%, 34%)
HSVhsv(212, 77%, 56%)
CMYKcmyk(77.5%, 41.5%, 0%, 44.3%)
CIE-LABlab(34.89, 4.83, -37.54)
CIE-LCHlch(34.89, 37.85, 277.34°)
OKLaboklab(43.97% -0.0301 -0.1072)
OKLCHoklch(43.97% 0.111 254.3)
XYZxyz(8.5696, 8.4456, 26.7645)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20538E #8E5B20
analogous
#208A8E #20538E #24208E
triadic
#20538E #8E2053 #538E20
tetradic
#20538E #8E208A #8E5B20 #208E24
square
#20538E #8E208A #8E5B20 #208E24
split-complementary
#20538E #8E2420 #8A8E20
monochromatic
#09192A #15365C #20538E #2B70C0 #518FD8

Accessibility & contrast

On white

7.81
#20538E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#20538E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20538E
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20538E#FFFFFF#000000##FFFFFF
##20538E1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375890
Deuteranopia (green-blind)
#254D8D
Tritanopia (blue-blind)
#006169
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #20538e;
/* rgb */ color: rgb(32, 83, 142);
/* oklch */ color: oklch(44.0% 0.111 254.3);
Tailwind
colors: {
  custom: {
    50: '#6c82af',
    500: '#20538e',
    950: '#000000',
  },
}
SCSS
$custom: #20538e;
$custom-light: #6c82af;
$custom-dark: #000000;
JSON
{
  "hex": "#20538e",
  "rgb": {
    "r": 32,
    "g": 83,
    "b": 142
  },
  "hsl": {
    "h": 212.182,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43975,
    "c": 0.11139,
    "h": 254.3
  },
  "luminance": 0.08447
}

Semantic roles & 50–950 ramp

primary
#20538E
secondary
#BB894F
accent
#9A42E6
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #20538E

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

Preview Lab → · Contrast checker → · Palette generator →

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