#20378D#20378D

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

Color values

HEX#20378D
RGBrgb(32, 55, 141)
HSLhsl(227, 63%, 34%)
HSVhsv(227, 77%, 55%)
CMYKcmyk(77.3%, 61%, 0%, 44.7%)
CIE-LABlab(26.63, 23.51, -50.26)
CIE-LCHlch(26.63, 55.49, 295.07°)
OKLaboklab(37.64% -0.0067 -0.1452)
OKLCHoklch(37.64% 0.145 267.4)
XYZxyz(6.7679, 4.9618, 25.7952)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20378D #8D7620
analogous
#206E8D #20378D #3F208D
triadic
#20378D #8D2037 #378D20
tetradic
#20378D #8D206E #8D7620 #208D3F
square
#20378D #8D206E #8D7620 #208D3F
split-complementary
#20378D #8D3F20 #6E8D20
monochromatic
#091029 #15245B #20378D #2B4ABF #506DD7

Accessibility & contrast

On white

10.54
#20378D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20378D
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20378D#FFFFFF#000000##FFFFFF
##20378D1.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004490
Deuteranopia (green-blind)
#003A8B
Tritanopia (blue-blind)
#004D5C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #20378d;
/* rgb */ color: rgb(32, 55, 141);
/* oklch */ color: oklch(37.6% 0.145 267.4);
Tailwind
colors: {
  custom: {
    50: '#6d6daf',
    500: '#20378d',
    950: '#000000',
  },
}
SCSS
$custom: #20378d;
$custom-light: #6d6daf;
$custom-dark: #000000;
JSON
{
  "hex": "#20378d",
  "rgb": {
    "r": 32,
    "g": 55,
    "b": 141
  },
  "hsl": {
    "h": 227.339,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.37638,
    "c": 0.14531,
    "h": 267.4
  },
  "luminance": 0.04963
}

Semantic roles & 50–950 ramp

primary
#20378D
secondary
#BAA44E
accent
#C342E6
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #20378D

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

Preview Lab → · Contrast checker → · Palette generator →

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