#20437B#20437B

#20437B is a dark, moderate blue. Relative luminance 0.058; OKLCH L 38.8% C 0.104 H 259.4°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#20437B
RGBrgb(32, 67, 123)
HSLhsl(217, 59%, 30%)
HSVhsv(217, 74%, 48%)
CMYKcmyk(74%, 45.5%, 0%, 51.8%)
CIE-LABlab(28.77, 8.03, -35.57)
CIE-LCHlch(28.77, 36.47, 282.71°)
OKLaboklab(38.84% -0.019 -0.1018)
OKLCHoklch(38.84% 0.104 259.4)
XYZxyz(6.1767, 5.7508, 19.5195)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20437B #7B5820
analogous
#20707B #20437B #2A207B
triadic
#20437B #7B2043 #437B20
tetradic
#20437B #7B2070 #7B5820 #207B2A
square
#20437B #7B2070 #7B5820 #207B2A
split-complementary
#20437B #7B2A20 #707B20
monochromatic
#070E1A #13294A #20437B #2D5DAC #467BCF

Accessibility & contrast

On white

9.77
#20437B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#20437B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20437B
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20437B#FFFFFF#000000##FFFFFF
##20437B1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27487D
Deuteranopia (green-blind)
#17407A
Tritanopia (blue-blind)
#005059
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #20437b;
/* rgb */ color: rgb(32, 67, 123);
/* oklch */ color: oklch(38.8% 0.104 259.4);
Tailwind
colors: {
  custom: {
    50: '#6876a1',
    500: '#20437b',
    950: '#000000',
  },
}
SCSS
$custom: #20437b;
$custom-light: #6876a1;
$custom-dark: #000000;
JSON
{
  "hex": "#20437b",
  "rgb": {
    "r": 32,
    "g": 67,
    "b": 123
  },
  "hsl": {
    "h": 216.923,
    "s": 58.71,
    "l": 30.392
  },
  "oklch": {
    "l": 0.38843,
    "c": 0.10352,
    "h": 259.4
  },
  "luminance": 0.05751
}

Semantic roles & 50–950 ramp

primary
#20437B
secondary
#AE8749
accent
#A646E2
background
#F6F7FA
surface
#EBEDF3
border
#C6C8CD
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #20437B

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

Preview Lab → · Contrast checker → · Palette generator →

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