#20357E#20357E

#20357E is a dark, vivid blue. Relative luminance 0.044; OKLCH L 35.9% C 0.126 H 267.4°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#20357E
RGBrgb(32, 53, 126)
HSLhsl(227, 59%, 31%)
HSVhsv(227, 75%, 49%)
CMYKcmyk(74.6%, 57.9%, 0%, 50.6%)
CIE-LABlab(24.82, 18.98, -43.83)
CIE-LCHlch(24.82, 47.76, 293.41°)
OKLaboklab(35.9% -0.0056 -0.1263)
OKLCHoklch(35.9% 0.126 267.4)
XYZxyz(5.6334, 4.3591, 20.2791)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20357E #7E6920
analogous
#20647E #20357E #3A207E
triadic
#20357E #7E2035 #357E20
tetradic
#20357E #7E2064 #7E6920 #207E3A
square
#20357E #7E2064 #7E6920 #207E3A
split-complementary
#20357E #7E3A20 #647E20
monochromatic
#070C1C #14204D #20357E #2C4AAF #4866D0

Accessibility & contrast

On white

11.22
#20357E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#20357E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20357E
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20357E#FFFFFF#000000##FFFFFF
##20357E1.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F81
Deuteranopia (green-blind)
#00377D
Tritanopia (blue-blind)
#004754
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #20357e;
/* rgb */ color: rgb(32, 53, 126);
/* oklch */ color: oklch(35.9% 0.126 267.4);
Tailwind
colors: {
  custom: {
    50: '#696ba4',
    500: '#20357e',
    950: '#000000',
  },
}
SCSS
$custom: #20357e;
$custom-light: #696ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#20357e",
  "rgb": {
    "r": 32,
    "g": 53,
    "b": 126
  },
  "hsl": {
    "h": 226.596,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.35901,
    "c": 0.12642,
    "h": 267.4
  },
  "luminance": 0.0436
}

Semantic roles & 50–950 ramp

primary
#20357E
secondary
#B19A49
accent
#BF45E3
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #20357E

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

Preview Lab → · Contrast checker → · Palette generator →

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