#20388A#20388A

#20388A is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.6% C 0.140 H 266.9°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#20388A
RGBrgb(32, 56, 138)
HSLhsl(226, 62%, 33%)
HSVhsv(226, 77%, 54%)
CMYKcmyk(76.8%, 59.4%, 0%, 45.9%)
CIE-LABlab(26.65, 21.64, -48.37)
CIE-LCHlch(26.65, 52.99, 294.10°)
OKLaboklab(37.58% -0.0075 -0.1396)
OKLCHoklch(37.58% 0.14 266.9)
XYZxyz(6.5957, 4.9697, 24.6515)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20388A #8A7220
analogous
#206D8A #20388A #3D208A
triadic
#20388A #8A2038 #388A20
tetradic
#20388A #8A206D #8A7220 #208A3D
square
#20388A #8A206D #8A7220 #208A3D
split-complementary
#20388A #8A3D20 #6D8A20
monochromatic
#091027 #142458 #20388A #2C4CBC #4E6DD6

Accessibility & contrast

On white

10.53
#20388A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#20388A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20388A
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20388A#FFFFFF#000000##FFFFFF
##20388A1.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #20388a;
/* rgb */ color: rgb(32, 56, 138);
/* oklch */ color: oklch(37.6% 0.140 266.9);
Tailwind
colors: {
  custom: {
    50: '#6c6ead',
    500: '#20388a',
    950: '#000000',
  },
}
SCSS
$custom: #20388a;
$custom-light: #6c6ead;
$custom-dark: #000000;
JSON
{
  "hex": "#20388a",
  "rgb": {
    "r": 32,
    "g": 56,
    "b": 138
  },
  "hsl": {
    "h": 226.415,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.37576,
    "c": 0.13978,
    "h": 266.9
  },
  "luminance": 0.0497
}

Semantic roles & 50–950 ramp

primary
#20388A
secondary
#B9A14D
accent
#C142E5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #20388A

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

Preview Lab → · Contrast checker → · Palette generator →

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