#20358D#20358D

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

Color values

HEX#20358D
RGBrgb(32, 53, 141)
HSLhsl(228, 63%, 34%)
HSVhsv(228, 77%, 55%)
CMYKcmyk(77.3%, 62.4%, 0%, 44.7%)
CIE-LABlab(26.09, 24.88, -51.14)
CIE-LCHlch(26.09, 56.87, 295.94°)
OKLaboklab(37.24% -0.0052 -0.1478)
OKLCHoklch(37.24% 0.148 268)
XYZxyz(6.6748, 4.7756, 25.7641)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20358D #8D7820
analogous
#206C8D #20358D #42208D
triadic
#20358D #8D2035 #358D20
tetradic
#20358D #8D206C #8D7820 #208D42
square
#20358D #8D206C #8D7820 #208D42
split-complementary
#20358D #8D4220 #6C8D20
monochromatic
#091029 #15225B #20358D #2B48BF #506AD7

Accessibility & contrast

On white

10.74
#20358D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20358D
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20358D#FFFFFF#000000##FFFFFF
##20358D1.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004390
Deuteranopia (green-blind)
#00398B
Tritanopia (blue-blind)
#004C5B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #20358d;
/* rgb */ color: rgb(32, 53, 141);
/* oklch */ color: oklch(37.2% 0.148 268.0);
Tailwind
colors: {
  custom: {
    50: '#6d6caf',
    500: '#20358d',
    950: '#000000',
  },
}
SCSS
$custom: #20358d;
$custom-light: #6d6caf;
$custom-dark: #000000;
JSON
{
  "hex": "#20358d",
  "rgb": {
    "r": 32,
    "g": 53,
    "b": 141
  },
  "hsl": {
    "h": 228.44,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.37237,
    "c": 0.14786,
    "h": 268
  },
  "luminance": 0.04776
}

Semantic roles & 50–950 ramp

primary
#20358D
secondary
#BAA64E
accent
#C642E6
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #20358D

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

Preview Lab → · Contrast checker → · Palette generator →

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