#20538C#20538C

#20538C is a dark, moderate cyan. Relative luminance 0.084; OKLCH L 43.8% C 0.109 H 253.6°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#20538C
RGBrgb(32, 83, 140)
HSLhsl(212, 63%, 34%)
HSVhsv(212, 77%, 55%)
CMYKcmyk(77.1%, 40.7%, 0%, 45.1%)
CIE-LABlab(34.77, 4.04, -36.51)
CIE-LCHlch(34.77, 36.73, 276.32°)
OKLaboklab(43.84% -0.0306 -0.1042)
OKLCHoklch(43.84% 0.109 253.6)
XYZxyz(8.4208, 8.3861, 25.9807)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20538C #8C5920
analogous
#20898C #20538C #23208C
triadic
#20538C #8C2053 #538C20
tetradic
#20538C #8C2089 #8C5920 #208C23
square
#20538C #8C2089 #8C5920 #208C23
split-complementary
#20538C #8C2320 #898C20
monochromatic
#091828 #15355A #20538C #2B71BE #508FD7

Accessibility & contrast

On white

7.84
#20538C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20538C
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20538C#FFFFFF#000000##FFFFFF
##20538C1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38578E
Deuteranopia (green-blind)
#274D8B
Tritanopia (blue-blind)
#006068
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #20538c;
/* rgb */ color: rgb(32, 83, 140);
/* oklch */ color: oklch(43.8% 0.109 253.6);
Tailwind
colors: {
  custom: {
    50: '#6c82ae',
    500: '#20538c',
    950: '#000000',
  },
}
SCSS
$custom: #20538c;
$custom-light: #6c82ae;
$custom-dark: #000000;
JSON
{
  "hex": "#20538c",
  "rgb": {
    "r": 32,
    "g": 83,
    "b": 140
  },
  "hsl": {
    "h": 211.667,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43843,
    "c": 0.10862,
    "h": 253.6
  },
  "luminance": 0.08387
}

Semantic roles & 50–950 ramp

primary
#20538C
secondary
#BA874E
accent
#9842E6
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #20538C

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

Preview Lab → · Contrast checker → · Palette generator →

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