#20438B#20438B

#20438B is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.0% C 0.127 H 262.6°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#20438B
RGBrgb(32, 67, 139)
HSLhsl(220, 63%, 34%)
HSVhsv(220, 77%, 55%)
CMYKcmyk(77%, 51.8%, 0%, 45.5%)
CIE-LABlab(29.87, 14.43, -43.75)
CIE-LCHlch(29.87, 46.07, 288.25°)
OKLaboklab(40.04% -0.0163 -0.1258)
OKLCHoklch(40.04% 0.127 262.6)
XYZxyz(7.2614, 6.1847, 25.2322)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20438B #8B6820
analogous
#20788B #20438B #32208B
triadic
#20438B #8B2043 #438B20
tetradic
#20438B #8B2078 #8B6820 #208B32
square
#20438B #8B2078 #8B6820 #208B32
split-complementary
#20438B #8B3220 #788B20
monochromatic
#091328 #152B59 #20438B #2B5BBD #4F7BD6

Accessibility & contrast

On white

9.39
#20438B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#20438B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20438B
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20438B#FFFFFF#000000##FFFFFF
##20438B1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174C8E
Deuteranopia (green-blind)
#00428A
Tritanopia (blue-blind)
#005460
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #20438b;
/* rgb */ color: rgb(32, 67, 139);
/* oklch */ color: oklch(40.0% 0.127 262.6);
Tailwind
colors: {
  custom: {
    50: '#6c76ad',
    500: '#20438b',
    950: '#000000',
  },
}
SCSS
$custom: #20438b;
$custom-light: #6c76ad;
$custom-dark: #000000;
JSON
{
  "hex": "#20438b",
  "rgb": {
    "r": 32,
    "g": 67,
    "b": 139
  },
  "hsl": {
    "h": 220.374,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.40039,
    "c": 0.12687,
    "h": 262.6
  },
  "luminance": 0.06185
}

Semantic roles & 50–950 ramp

primary
#20438B
secondary
#BA964D
accent
#B042E6
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #20438B

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

Preview Lab → · Contrast checker → · Palette generator →

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