#20438E#20438E

#20438E is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.3% C 0.131 H 263.0°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#20438E
RGBrgb(32, 67, 142)
HSLhsl(221, 63%, 34%)
HSVhsv(221, 77%, 56%)
CMYKcmyk(77.5%, 52.8%, 0%, 44.3%)
CIE-LABlab(30.09, 15.63, -45.25)
CIE-LCHlch(30.09, 47.87, 289.06°)
OKLaboklab(40.28% -0.0159 -0.1302)
OKLCHoklch(40.28% 0.131 263)
XYZxyz(7.4836, 6.2735, 26.4024)
Luminance0.0627 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20438E #8E6B20
analogous
#207A8E #20438E #34208E
triadic
#20438E #8E2043 #438E20
tetradic
#20438E #8E207A #8E6B20 #208E34
square
#20438E #8E207A #8E6B20 #208E34
split-complementary
#20438E #8E3420 #7A8E20
monochromatic
#09142A #152B5C #20438E #2B5BC0 #517CD8

Accessibility & contrast

On white

9.31
#20438E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20438E
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20438E#FFFFFF#000000##FFFFFF
##20438E1.009.312.259.31
#FFFFFF9.311.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124C91
Deuteranopia (green-blind)
#00428D
Tritanopia (blue-blind)
#005562
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #20438e;
/* rgb */ color: rgb(32, 67, 142);
/* oklch */ color: oklch(40.3% 0.131 263.0);
Tailwind
colors: {
  custom: {
    50: '#6d76b0',
    500: '#20438e',
    950: '#000000',
  },
}
SCSS
$custom: #20438e;
$custom-light: #6d76b0;
$custom-dark: #000000;
JSON
{
  "hex": "#20438e",
  "rgb": {
    "r": 32,
    "g": 67,
    "b": 142
  },
  "hsl": {
    "h": 220.909,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.40275,
    "c": 0.13119,
    "h": 263
  },
  "luminance": 0.06274
}

Semantic roles & 50–950 ramp

primary
#20438E
secondary
#BB994F
accent
#B242E6
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #20438E

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

Preview Lab → · Contrast checker → · Palette generator →

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