#20538F#20538F

#20538F is a dark, moderate cyan. Relative luminance 0.085; OKLCH L 44.0% C 0.113 H 254.6°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#20538F
RGBrgb(32, 83, 143)
HSLhsl(212, 63%, 34%)
HSVhsv(212, 78%, 56%)
CMYKcmyk(77.6%, 42%, 0%, 43.9%)
CIE-LABlab(34.95, 5.23, -38.05)
CIE-LCHlch(34.95, 38.41, 277.82°)
OKLaboklab(44.04% -0.0299 -0.1087)
OKLCHoklch(44.04% 0.113 254.6)
XYZxyz(8.6450, 8.4758, 27.1616)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20538F #8F5C20
analogous
#208B8F #20538F #24208F
triadic
#20538F #8F2053 #538F20
tetradic
#20538F #8F208B #8F5C20 #208F24
square
#20538F #8F208B #8F5C20 #208F24
split-complementary
#20538F #8F2420 #8B8F20
monochromatic
#0A192B #15365D #20538F #2B70C1 #518FD8

Accessibility & contrast

On white

7.79
#20538F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#20538F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20538F
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20538F#FFFFFF#000000##FFFFFF
##20538F1.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365891
Deuteranopia (green-blind)
#234E8E
Tritanopia (blue-blind)
#00616A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #20538f;
/* rgb */ color: rgb(32, 83, 143);
/* oklch */ color: oklch(44.0% 0.113 254.6);
Tailwind
colors: {
  custom: {
    50: '#6c82b0',
    500: '#20538f',
    950: '#000000',
  },
}
SCSS
$custom: #20538f;
$custom-light: #6c82b0;
$custom-dark: #000000;
JSON
{
  "hex": "#20538f",
  "rgb": {
    "r": 32,
    "g": 83,
    "b": 143
  },
  "hsl": {
    "h": 212.432,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44042,
    "c": 0.11277,
    "h": 254.6
  },
  "luminance": 0.08477
}

Semantic roles & 50–950 ramp

primary
#20538F
secondary
#BB8A4F
accent
#9B41E6
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #20538F

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

Preview Lab → · Contrast checker → · Palette generator →

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