#20378F#20378F

#20378F is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.8% C 0.148 H 267.4°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#20378F
RGBrgb(32, 55, 143)
HSLhsl(228, 63%, 34%)
HSVhsv(228, 78%, 56%)
CMYKcmyk(77.6%, 61.5%, 0%, 43.9%)
CIE-LABlab(26.80, 24.29, -51.22)
CIE-LCHlch(26.80, 56.69, 295.38°)
OKLaboklab(37.82% -0.0066 -0.148)
OKLCHoklch(37.82% 0.148 267.4)
XYZxyz(6.9181, 5.0219, 26.5860)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20378F #8F7820
analogous
#206F8F #20378F #41208F
triadic
#20378F #8F2037 #378F20
tetradic
#20378F #8F206F #8F7820 #208F41
square
#20378F #8F206F #8F7820 #208F41
split-complementary
#20378F #8F4120 #6F8F20
monochromatic
#0A112B #15245D #20378F #2B4AC1 #516DD8

Accessibility & contrast

On white

10.48
#20378F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#20378F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20378F
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20378F#FFFFFF#000000##FFFFFF
##20378F1.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004592
Deuteranopia (green-blind)
#003A8D
Tritanopia (blue-blind)
#004D5D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #20378f;
/* rgb */ color: rgb(32, 55, 143);
/* oklch */ color: oklch(37.8% 0.148 267.4);
Tailwind
colors: {
  custom: {
    50: '#6e6db1',
    500: '#20378f',
    950: '#000000',
  },
}
SCSS
$custom: #20378f;
$custom-light: #6e6db1;
$custom-dark: #000000;
JSON
{
  "hex": "#20378f",
  "rgb": {
    "r": 32,
    "g": 55,
    "b": 143
  },
  "hsl": {
    "h": 227.568,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.37819,
    "c": 0.14812,
    "h": 267.4
  },
  "luminance": 0.05023
}

Semantic roles & 50–950 ramp

primary
#20378F
secondary
#BBA54F
accent
#C441E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #20378F

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

Preview Lab → · Contrast checker → · Palette generator →

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