#20538B#20538B

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

Color values

HEX#20538B
RGBrgb(32, 83, 139)
HSLhsl(211, 63%, 34%)
HSVhsv(211, 77%, 55%)
CMYKcmyk(77%, 40.3%, 0%, 45.5%)
CIE-LABlab(34.72, 3.65, -35.99)
CIE-LCHlch(34.72, 36.18, 275.79°)
OKLaboklab(43.78% -0.0309 -0.1027)
OKLCHoklch(43.78% 0.107 253.3)
XYZxyz(8.3474, 8.3567, 25.5942)
Luminance0.0836 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20538B #8B5820
analogous
#20888B #20538B #22208B
triadic
#20538B #8B2053 #538B20
tetradic
#20538B #8B2088 #8B5820 #208B22
square
#20538B #8B2088 #8B5820 #208B22
split-complementary
#20538B #8B2220 #888B20
monochromatic
#091828 #153559 #20538B #2B71BD #4F90D6

Accessibility & contrast

On white

7.86
#20538B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#20538B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20538B
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20538B#FFFFFF#000000##FFFFFF
##20538B1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39578D
Deuteranopia (green-blind)
#284D8A
Tritanopia (blue-blind)
#006068
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #20538b;
/* rgb */ color: rgb(32, 83, 139);
/* oklch */ color: oklch(43.8% 0.107 253.3);
Tailwind
colors: {
  custom: {
    50: '#6b82ad',
    500: '#20538b',
    950: '#000000',
  },
}
SCSS
$custom: #20538b;
$custom-light: #6b82ad;
$custom-dark: #000000;
JSON
{
  "hex": "#20538b",
  "rgb": {
    "r": 32,
    "g": 83,
    "b": 139
  },
  "hsl": {
    "h": 211.402,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43777,
    "c": 0.10724,
    "h": 253.3
  },
  "luminance": 0.08358
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #20538B

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

Preview Lab → · Contrast checker → · Palette generator →

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