#20358E#20358E

#20358E is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.3% C 0.149 H 268.0°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#20358E
RGBrgb(32, 53, 142)
HSLhsl(229, 63%, 34%)
HSVhsv(229, 77%, 56%)
CMYKcmyk(77.5%, 62.7%, 0%, 44.3%)
CIE-LABlab(26.17, 25.27, -51.62)
CIE-LCHlch(26.17, 57.47, 296.09°)
OKLaboklab(37.33% -0.0053 -0.1492)
OKLCHoklch(37.33% 0.149 268)
XYZxyz(6.7496, 4.8055, 26.1578)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20358E #8E7920
analogous
#206C8E #20358E #42208E
triadic
#20358E #8E2035 #358E20
tetradic
#20358E #8E206C #8E7920 #208E42
square
#20358E #8E206C #8E7920 #208E42
split-complementary
#20358E #8E4220 #6C8E20
monochromatic
#09102A #15225C #20358E #2B48C0 #516AD8

Accessibility & contrast

On white

10.71
#20358E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#20358E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20358E
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20358E#FFFFFF#000000##FFFFFF
##20358E1.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004391
Deuteranopia (green-blind)
#00398C
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #20358e;
/* rgb */ color: rgb(32, 53, 142);
/* oklch */ color: oklch(37.3% 0.149 268.0);
Tailwind
colors: {
  custom: {
    50: '#6e6cb0',
    500: '#20358e',
    950: '#000000',
  },
}
SCSS
$custom: #20358e;
$custom-light: #6e6cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#20358e",
  "rgb": {
    "r": 32,
    "g": 53,
    "b": 142
  },
  "hsl": {
    "h": 228.545,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.37329,
    "c": 0.14926,
    "h": 268
  },
  "luminance": 0.04806
}

Semantic roles & 50–950 ramp

primary
#20358E
secondary
#BBA64F
accent
#C742E6
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080611
muted
#7B7A80

Preview Lab

Preview with #20358E

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

Preview Lab → · Contrast checker → · Palette generator →

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