#20548E#20548E

#20548E is a dark, moderate cyan. Relative luminance 0.086; OKLCH L 44.2% C 0.110 H 253.6°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#20548E
RGBrgb(32, 84, 142)
HSLhsl(212, 63%, 34%)
HSVhsv(212, 77%, 56%)
CMYKcmyk(77.5%, 40.8%, 0%, 44.3%)
CIE-LABlab(35.20, 4.18, -37.05)
CIE-LCHlch(35.20, 37.28, 276.43°)
OKLaboklab(44.22% -0.0311 -0.1058)
OKLCHoklch(44.22% 0.11 253.6)
XYZxyz(8.6467, 8.5997, 26.7901)
Luminance0.0860 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20548E #8E5A20
analogous
#208B8E #20548E #23208E
triadic
#20548E #8E2054 #548E20
tetradic
#20548E #8E208B #8E5A20 #208E23
square
#20548E #8E208B #8E5A20 #208E23
split-complementary
#20548E #8E2320 #8B8E20
monochromatic
#09192A #15365C #20548E #2B72C0 #5191D8

Accessibility & contrast

On white

7.72
#20548E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#20548E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20548E
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20548E#FFFFFF#000000##FFFFFF
##20548E1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385890
Deuteranopia (green-blind)
#274E8D
Tritanopia (blue-blind)
#00626A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #20548e;
/* rgb */ color: rgb(32, 84, 142);
/* oklch */ color: oklch(44.2% 0.110 253.6);
Tailwind
colors: {
  custom: {
    50: '#6c83af',
    500: '#20548e',
    950: '#000000',
  },
}
SCSS
$custom: #20548e;
$custom-light: #6c83af;
$custom-dark: #000000;
JSON
{
  "hex": "#20548e",
  "rgb": {
    "r": 32,
    "g": 84,
    "b": 142
  },
  "hsl": {
    "h": 211.636,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44215,
    "c": 0.11025,
    "h": 253.6
  },
  "luminance": 0.08601
}

Semantic roles & 50–950 ramp

primary
#20548E
secondary
#BB884F
accent
#9842E6
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #20548E

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

Preview Lab → · Contrast checker → · Palette generator →

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