#20438C#20438C

#20438C is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.1% C 0.128 H 262.8°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#20438C
RGBrgb(32, 67, 140)
HSLhsl(221, 63%, 34%)
HSVhsv(221, 77%, 55%)
CMYKcmyk(77.1%, 52.1%, 0%, 45.1%)
CIE-LABlab(29.95, 14.83, -44.25)
CIE-LCHlch(29.95, 46.67, 288.53°)
OKLaboklab(40.12% -0.0162 -0.1273)
OKLCHoklch(40.12% 0.128 262.8)
XYZxyz(7.3348, 6.2140, 25.6187)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20438C #8C6920
analogous
#20798C #20438C #33208C
triadic
#20438C #8C2043 #438C20
tetradic
#20438C #8C2079 #8C6920 #208C33
square
#20438C #8C2079 #8C6920 #208C33
split-complementary
#20438C #8C3320 #798C20
monochromatic
#091328 #152B5A #20438C #2B5BBE #507BD7

Accessibility & contrast

On white

9.36
#20438C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20438C
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20438C#FFFFFF#000000##FFFFFF
##20438C1.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154C8F
Deuteranopia (green-blind)
#00428B
Tritanopia (blue-blind)
#005561
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #20438c;
/* rgb */ color: rgb(32, 67, 140);
/* oklch */ color: oklch(40.1% 0.128 262.8);
Tailwind
colors: {
  custom: {
    50: '#6c76ae',
    500: '#20438c',
    950: '#000000',
  },
}
SCSS
$custom: #20438c;
$custom-light: #6c76ae;
$custom-dark: #000000;
JSON
{
  "hex": "#20438c",
  "rgb": {
    "r": 32,
    "g": 67,
    "b": 140
  },
  "hsl": {
    "h": 220.556,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.40118,
    "c": 0.12831,
    "h": 262.8
  },
  "luminance": 0.06215
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #20438C

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

Preview Lab → · Contrast checker → · Palette generator →

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