#20358A#20358A

#20358A is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.0% C 0.144 H 267.9°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#20358A
RGBrgb(32, 53, 138)
HSLhsl(228, 62%, 33%)
HSVhsv(228, 77%, 54%)
CMYKcmyk(76.8%, 61.6%, 0%, 45.9%)
CIE-LABlab(25.83, 23.71, -49.71)
CIE-LCHlch(25.83, 55.07, 295.50°)
OKLaboklab(36.96% -0.0053 -0.1436)
OKLCHoklch(36.96% 0.144 267.9)
XYZxyz(6.4546, 4.6876, 24.6044)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20358A #8A7520
analogous
#206A8A #20358A #40208A
triadic
#20358A #8A2035 #358A20
tetradic
#20358A #8A206A #8A7520 #208A40
square
#20358A #8A206A #8A7520 #208A40
split-complementary
#20358A #8A4020 #6A8A20
monochromatic
#090F27 #142258 #20358A #2C48BC #4E69D6

Accessibility & contrast

On white

10.84
#20358A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#20358A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20358A
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20358A#FFFFFF#000000##FFFFFF
##20358A1.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428D
Deuteranopia (green-blind)
#003888
Tritanopia (blue-blind)
#004B5A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #20358a;
/* rgb */ color: rgb(32, 53, 138);
/* oklch */ color: oklch(37.0% 0.144 267.9);
Tailwind
colors: {
  custom: {
    50: '#6c6cad',
    500: '#20358a',
    950: '#000000',
  },
}
SCSS
$custom: #20358a;
$custom-light: #6c6cad;
$custom-dark: #000000;
JSON
{
  "hex": "#20358a",
  "rgb": {
    "r": 32,
    "g": 53,
    "b": 138
  },
  "hsl": {
    "h": 228.113,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.36963,
    "c": 0.14366,
    "h": 267.9
  },
  "luminance": 0.04688
}

Semantic roles & 50–950 ramp

primary
#20358A
secondary
#B9A44D
accent
#C542E5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #20358A

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

Preview Lab → · Contrast checker → · Palette generator →

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