#20347E#20347E

#20347E is a dark, vivid blue. Relative luminance 0.043; OKLCH L 35.7% C 0.128 H 267.9°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#20347E
RGBrgb(32, 52, 126)
HSLhsl(227, 59%, 31%)
HSVhsv(227, 75%, 49%)
CMYKcmyk(74.6%, 58.7%, 0%, 50.6%)
CIE-LABlab(24.54, 19.68, -44.29)
CIE-LCHlch(24.54, 48.46, 293.96°)
OKLaboklab(35.69% -0.0048 -0.1277)
OKLCHoklch(35.69% 0.128 267.9)
XYZxyz(5.5882, 4.2688, 20.2641)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20347E #7E6A20
analogous
#20637E #20347E #3B207E
triadic
#20347E #7E2034 #347E20
tetradic
#20347E #7E2063 #7E6A20 #207E3B
square
#20347E #7E2063 #7E6A20 #207E3B
split-complementary
#20347E #7E3B20 #637E20
monochromatic
#070C1C #14204D #20347E #2C48AF #4865D0

Accessibility & contrast

On white

11.33
#20347E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#20347E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20347E
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20347E#FFFFFF#000000##FFFFFF
##20347E1.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F81
Deuteranopia (green-blind)
#00367D
Tritanopia (blue-blind)
#004653
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #20347e;
/* rgb */ color: rgb(32, 52, 126);
/* oklch */ color: oklch(35.7% 0.128 267.9);
Tailwind
colors: {
  custom: {
    50: '#6a6ba4',
    500: '#20347e',
    950: '#000000',
  },
}
SCSS
$custom: #20347e;
$custom-light: #6a6ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#20347e",
  "rgb": {
    "r": 32,
    "g": 52,
    "b": 126
  },
  "hsl": {
    "h": 227.234,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.35688,
    "c": 0.12775,
    "h": 267.9
  },
  "luminance": 0.04269
}

Semantic roles & 50–950 ramp

primary
#20347E
secondary
#B19B49
accent
#C145E3
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #20347E

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

Preview Lab → · Contrast checker → · Palette generator →

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