#20437F#20437F

#20437F is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.1% C 0.109 H 260.4°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#20437F
RGBrgb(32, 67, 127)
HSLhsl(218, 60%, 31%)
HSVhsv(218, 75%, 50%)
CMYKcmyk(74.8%, 47.2%, 0%, 50.2%)
CIE-LABlab(29.04, 9.62, -37.65)
CIE-LCHlch(29.04, 38.86, 284.34°)
OKLaboklab(39.13% -0.0182 -0.1079)
OKLCHoklch(39.13% 0.109 260.4)
XYZxyz(6.4322, 5.8530, 20.8653)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20437F #7F5C20
analogous
#20727F #20437F #2C207F
triadic
#20437F #7F2043 #437F20
tetradic
#20437F #7F2072 #7F5C20 #207F2C
square
#20437F #7F2072 #7F5C20 #207F2C
split-complementary
#20437F #7F2C20 #727F20
monochromatic
#070F1D #14294E #20437F #2C5DB0 #487BD1

Accessibility & contrast

On white

9.67
#20437F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#20437F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20437F
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20437F#FFFFFF#000000##FFFFFF
##20437F1.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244981
Deuteranopia (green-blind)
#10407E
Tritanopia (blue-blind)
#00515A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #20437f;
/* rgb */ color: rgb(32, 67, 127);
/* oklch */ color: oklch(39.1% 0.109 260.4);
Tailwind
colors: {
  custom: {
    50: '#6976a4',
    500: '#20437f',
    950: '#000000',
  },
}
SCSS
$custom: #20437f;
$custom-light: #6976a4;
$custom-dark: #000000;
JSON
{
  "hex": "#20437f",
  "rgb": {
    "r": 32,
    "g": 67,
    "b": 127
  },
  "hsl": {
    "h": 217.895,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.39132,
    "c": 0.1094,
    "h": 260.4
  },
  "luminance": 0.05854
}

Semantic roles & 50–950 ramp

primary
#20437F
secondary
#B28B49
accent
#A945E3
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #20437F

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

Preview Lab → · Contrast checker → · Palette generator →

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