#20438D#20438D

#20438D is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.2% C 0.130 H 262.9°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#20438D
RGBrgb(32, 67, 141)
HSLhsl(221, 63%, 34%)
HSVhsv(221, 77%, 55%)
CMYKcmyk(77.3%, 52.5%, 0%, 44.7%)
CIE-LABlab(30.02, 15.23, -44.75)
CIE-LCHlch(30.02, 47.27, 288.79°)
OKLaboklab(40.2% -0.016 -0.1288)
OKLCHoklch(40.2% 0.13 262.9)
XYZxyz(7.4088, 6.2436, 26.0088)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20438D #8D6A20
analogous
#207A8D #20438D #34208D
triadic
#20438D #8D2043 #438D20
tetradic
#20438D #8D207A #8D6A20 #208D34
square
#20438D #8D207A #8D6A20 #208D34
split-complementary
#20438D #8D3420 #7A8D20
monochromatic
#091429 #152B5B #20438D #2B5BBF #507CD7

Accessibility & contrast

On white

9.34
#20438D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#20438D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20438D
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20438D#FFFFFF#000000##FFFFFF
##20438D1.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134C90
Deuteranopia (green-blind)
#00428C
Tritanopia (blue-blind)
#005561
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #20438d;
/* rgb */ color: rgb(32, 67, 141);
/* oklch */ color: oklch(40.2% 0.130 262.9);
Tailwind
colors: {
  custom: {
    50: '#6c76af',
    500: '#20438d',
    950: '#000000',
  },
}
SCSS
$custom: #20438d;
$custom-light: #6c76af;
$custom-dark: #000000;
JSON
{
  "hex": "#20438d",
  "rgb": {
    "r": 32,
    "g": 67,
    "b": 141
  },
  "hsl": {
    "h": 220.734,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.40196,
    "c": 0.12976,
    "h": 262.9
  },
  "luminance": 0.06244
}

Semantic roles & 50–950 ramp

primary
#20438D
secondary
#BA984E
accent
#B142E6
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #20438D

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

Preview Lab → · Contrast checker → · Palette generator →

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