#20378A#20378A

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

Color values

HEX#20378A
RGBrgb(32, 55, 138)
HSLhsl(227, 62%, 33%)
HSVhsv(227, 77%, 54%)
CMYKcmyk(76.8%, 60.1%, 0%, 45.9%)
CIE-LABlab(26.37, 22.33, -48.82)
CIE-LCHlch(26.37, 53.68, 294.58°)
OKLaboklab(37.37% -0.0067 -0.1409)
OKLCHoklch(37.37% 0.141 267.3)
XYZxyz(6.5477, 4.8737, 24.6355)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20378A #8A7320
analogous
#206C8A #20378A #3E208A
triadic
#20378A #8A2037 #378A20
tetradic
#20378A #8A206C #8A7320 #208A3E
square
#20378A #8A206C #8A7320 #208A3E
split-complementary
#20378A #8A3E20 #6C8A20
monochromatic
#090F27 #142358 #20378A #2C4BBC #4E6CD6

Accessibility & contrast

On white

10.63
#20378A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#20378A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20378A
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20378A#FFFFFF#000000##FFFFFF
##20378A1.0010.631.9710.63
#FFFFFF10.631.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438D
Deuteranopia (green-blind)
#003A88
Tritanopia (blue-blind)
#004C5B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #20378a;
/* rgb */ color: rgb(32, 55, 138);
/* oklch */ color: oklch(37.4% 0.141 267.3);
Tailwind
colors: {
  custom: {
    50: '#6c6dad',
    500: '#20378a',
    950: '#000000',
  },
}
SCSS
$custom: #20378a;
$custom-light: #6c6dad;
$custom-dark: #000000;
JSON
{
  "hex": "#20378a",
  "rgb": {
    "r": 32,
    "g": 55,
    "b": 138
  },
  "hsl": {
    "h": 226.981,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.3737,
    "c": 0.14107,
    "h": 267.3
  },
  "luminance": 0.04874
}

Semantic roles & 50–950 ramp

primary
#20378A
secondary
#B9A24D
accent
#C242E5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #20378A

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

Preview Lab → · Contrast checker → · Palette generator →

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