#20378B#20378B

#20378B is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.5% C 0.142 H 267.3°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#20378B
RGBrgb(32, 55, 139)
HSLhsl(227, 63%, 34%)
HSVhsv(227, 77%, 55%)
CMYKcmyk(77%, 60.4%, 0%, 45.5%)
CIE-LABlab(26.46, 22.72, -49.30)
CIE-LCHlch(26.46, 54.28, 294.75°)
OKLaboklab(37.46% -0.0067 -0.1423)
OKLCHoklch(37.46% 0.142 267.3)
XYZxyz(6.6204, 4.9028, 25.0185)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20378B #8B7420
analogous
#206C8B #20378B #3E208B
triadic
#20378B #8B2037 #378B20
tetradic
#20378B #8B206C #8B7420 #208B3E
square
#20378B #8B206C #8B7420 #208B3E
split-complementary
#20378B #8B3E20 #6C8B20
monochromatic
#091028 #152359 #20378B #2B4BBD #4F6CD6

Accessibility & contrast

On white

10.60
#20378B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#20378B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20378B
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20378B#FFFFFF#000000##FFFFFF
##20378B1.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448E
Deuteranopia (green-blind)
#003A89
Tritanopia (blue-blind)
#004C5B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #20378b;
/* rgb */ color: rgb(32, 55, 139);
/* oklch */ color: oklch(37.5% 0.142 267.3);
Tailwind
colors: {
  custom: {
    50: '#6d6dae',
    500: '#20378b',
    950: '#000000',
  },
}
SCSS
$custom: #20378b;
$custom-light: #6d6dae;
$custom-dark: #000000;
JSON
{
  "hex": "#20378b",
  "rgb": {
    "r": 32,
    "g": 55,
    "b": 139
  },
  "hsl": {
    "h": 227.103,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.37459,
    "c": 0.14249,
    "h": 267.3
  },
  "luminance": 0.04904
}

Semantic roles & 50–950 ramp

primary
#20378B
secondary
#BAA24D
accent
#C242E6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #20378B

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

Preview Lab → · Contrast checker → · Palette generator →

#20378B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva