#20518B#20518B

#20518B is a dark, moderate cyan. Relative luminance 0.081; OKLCH L 43.3% C 0.110 H 254.7°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#20518B
RGBrgb(32, 81, 139)
HSLhsl(213, 63%, 34%)
HSVhsv(213, 77%, 55%)
CMYKcmyk(77%, 41.7%, 0%, 45.5%)
CIE-LABlab(34.10, 4.97, -36.98)
CIE-LCHlch(34.10, 37.31, 277.65°)
OKLaboklab(43.3% -0.029 -0.1056)
OKLCHoklch(43.3% 0.11 254.7)
XYZxyz(8.1966, 8.0551, 25.5439)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20518B #8B5A20
analogous
#20868B #20518B #24208B
triadic
#20518B #8B2051 #518B20
tetradic
#20518B #8B2086 #8B5A20 #208B24
square
#20518B #8B2086 #8B5A20 #208B24
split-complementary
#20518B #8B2420 #868B20
monochromatic
#091728 #153459 #20518B #2B6EBD #4F8DD6

Accessibility & contrast

On white

8.04
#20518B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#20518B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20518B
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20518B#FFFFFF#000000##FFFFFF
##20518B1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35568D
Deuteranopia (green-blind)
#244C8A
Tritanopia (blue-blind)
#005F67
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #20518b;
/* rgb */ color: rgb(32, 81, 139);
/* oklch */ color: oklch(43.3% 0.110 254.7);
Tailwind
colors: {
  custom: {
    50: '#6b81ad',
    500: '#20518b',
    950: '#000000',
  },
}
SCSS
$custom: #20518b;
$custom-light: #6b81ad;
$custom-dark: #000000;
JSON
{
  "hex": "#20518b",
  "rgb": {
    "r": 32,
    "g": 81,
    "b": 139
  },
  "hsl": {
    "h": 212.523,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43296,
    "c": 0.10953,
    "h": 254.7
  },
  "luminance": 0.08056
}

Semantic roles & 50–950 ramp

primary
#20518B
secondary
#BA884D
accent
#9B42E6
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #20518B

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

Preview Lab → · Contrast checker → · Palette generator →

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