#20357D#20357D

#20357D is a dark, vivid blue. Relative luminance 0.043; OKLCH L 35.8% C 0.125 H 267.4°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#20357D
RGBrgb(32, 53, 125)
HSLhsl(226, 59%, 31%)
HSVhsv(226, 74%, 49%)
CMYKcmyk(74.4%, 57.6%, 0%, 51%)
CIE-LABlab(24.74, 18.58, -43.33)
CIE-LCHlch(24.74, 47.14, 293.21°)
OKLaboklab(35.82% -0.0057 -0.1248)
OKLCHoklch(35.82% 0.125 267.4)
XYZxyz(5.5692, 4.3334, 19.9410)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20357D #7D6820
analogous
#20637D #20357D #39207D
triadic
#20357D #7D2035 #357D20
tetradic
#20357D #7D2063 #7D6820 #207D39
square
#20357D #7D2063 #7D6820 #207D39
split-complementary
#20357D #7D3920 #637D20
monochromatic
#070C1C #14204C #20357D #2C4AAE #4766D0

Accessibility & contrast

On white

11.25
#20357D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20357D
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20357D#FFFFFF#000000##FFFFFF
##20357D1.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F7F
Deuteranopia (green-blind)
#00377C
Tritanopia (blue-blind)
#004753
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #20357d;
/* rgb */ color: rgb(32, 53, 125);
/* oklch */ color: oklch(35.8% 0.125 267.4);
Tailwind
colors: {
  custom: {
    50: '#696ba3',
    500: '#20357d',
    950: '#000000',
  },
}
SCSS
$custom: #20357d;
$custom-light: #696ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#20357d",
  "rgb": {
    "r": 32,
    "g": 53,
    "b": 125
  },
  "hsl": {
    "h": 226.452,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.35815,
    "c": 0.12495,
    "h": 267.4
  },
  "luminance": 0.04334
}

Semantic roles & 50–950 ramp

primary
#20357D
secondary
#B09949
accent
#BF45E2
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #20357D

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

Preview Lab → · Contrast checker → · Palette generator →

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