#20378C#20378C

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

Color values

HEX#20378C
RGBrgb(32, 55, 140)
HSLhsl(227, 63%, 34%)
HSVhsv(227, 77%, 55%)
CMYKcmyk(77.1%, 60.7%, 0%, 45.1%)
CIE-LABlab(26.54, 23.12, -49.78)
CIE-LCHlch(26.54, 54.89, 294.91°)
OKLaboklab(37.55% -0.0067 -0.1437)
OKLCHoklch(37.55% 0.144 267.3)
XYZxyz(6.6938, 4.9322, 25.4051)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20378C #8C7520
analogous
#206D8C #20378C #3F208C
triadic
#20378C #8C2037 #378C20
tetradic
#20378C #8C206D #8C7520 #208C3F
square
#20378C #8C206D #8C7520 #208C3F
split-complementary
#20378C #8C3F20 #6D8C20
monochromatic
#091028 #15235A #20378C #2B4BBE #506CD7

Accessibility & contrast

On white

10.57
#20378C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#20378C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20378C
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20378C#FFFFFF#000000##FFFFFF
##20378C1.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448F
Deuteranopia (green-blind)
#003A8A
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #20378c;
/* rgb */ color: rgb(32, 55, 140);
/* oklch */ color: oklch(37.5% 0.144 267.3);
Tailwind
colors: {
  custom: {
    50: '#6d6dae',
    500: '#20378c',
    950: '#000000',
  },
}
SCSS
$custom: #20378c;
$custom-light: #6d6dae;
$custom-dark: #000000;
JSON
{
  "hex": "#20378c",
  "rgb": {
    "r": 32,
    "g": 55,
    "b": 140
  },
  "hsl": {
    "h": 227.222,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.37549,
    "c": 0.14391,
    "h": 267.3
  },
  "luminance": 0.04933
}

Semantic roles & 50–950 ramp

primary
#20378C
secondary
#BAA34E
accent
#C342E6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #20378C

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

Preview Lab → · Contrast checker → · Palette generator →

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