#20357F#20357F

#20357F is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.0% C 0.128 H 267.5°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#20357F
RGBrgb(32, 53, 127)
HSLhsl(227, 60%, 31%)
HSVhsv(227, 75%, 50%)
CMYKcmyk(74.8%, 58.3%, 0%, 50.2%)
CIE-LABlab(24.91, 19.37, -44.33)
CIE-LCHlch(24.91, 48.38, 293.61°)
OKLaboklab(35.99% -0.0056 -0.1278)
OKLCHoklch(35.99% 0.128 267.5)
XYZxyz(5.6982, 4.3850, 20.6206)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20357F #7F6A20
analogous
#20647F #20357F #3A207F
triadic
#20357F #7F2035 #357F20
tetradic
#20357F #7F2064 #7F6A20 #207F3A
square
#20357F #7F2064 #7F6A20 #207F3A
split-complementary
#20357F #7F3A20 #647F20
monochromatic
#070C1D #14214E #20357F #2C49B0 #4867D1

Accessibility & contrast

On white

11.19
#20357F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#20357F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20357F
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20357F#FFFFFF#000000##FFFFFF
##20357F1.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004082
Deuteranopia (green-blind)
#00377E
Tritanopia (blue-blind)
#004754
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #20357f;
/* rgb */ color: rgb(32, 53, 127);
/* oklch */ color: oklch(36.0% 0.128 267.5);
Tailwind
colors: {
  custom: {
    50: '#6a6ba5',
    500: '#20357f',
    950: '#000000',
  },
}
SCSS
$custom: #20357f;
$custom-light: #6a6ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#20357f",
  "rgb": {
    "r": 32,
    "g": 53,
    "b": 127
  },
  "hsl": {
    "h": 226.737,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35987,
    "c": 0.12788,
    "h": 267.5
  },
  "luminance": 0.04386
}

Semantic roles & 50–950 ramp

primary
#20357F
secondary
#B29B49
accent
#C045E3
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #20357F

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

Preview Lab → · Contrast checker → · Palette generator →

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