#20347D#20347D

#20347D is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.6% C 0.126 H 267.8°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#20347D
RGBrgb(32, 52, 125)
HSLhsl(227, 59%, 31%)
HSVhsv(227, 74%, 49%)
CMYKcmyk(74.4%, 58.4%, 0%, 51%)
CIE-LABlab(24.46, 19.28, -43.79)
CIE-LCHlch(24.46, 47.85, 293.76°)
OKLaboklab(35.6% -0.0048 -0.1262)
OKLCHoklch(35.6% 0.126 267.8)
XYZxyz(5.5240, 4.2432, 19.9259)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20347D #7D6920
analogous
#20627D #20347D #3A207D
triadic
#20347D #7D2034 #347D20
tetradic
#20347D #7D2062 #7D6920 #207D3A
square
#20347D #7D2062 #7D6920 #207D3A
split-complementary
#20347D #7D3A20 #627D20
monochromatic
#070B1C #14204C #20347D #2C48AE #4765D0

Accessibility & contrast

On white

11.36
#20347D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20347D
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20347D#FFFFFF#000000##FFFFFF
##20347D1.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #20347d;
/* rgb */ color: rgb(32, 52, 125);
/* oklch */ color: oklch(35.6% 0.126 267.8);
Tailwind
colors: {
  custom: {
    50: '#696ba3',
    500: '#20347d',
    950: '#000000',
  },
}
SCSS
$custom: #20347d;
$custom-light: #696ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#20347d",
  "rgb": {
    "r": 32,
    "g": 52,
    "b": 125
  },
  "hsl": {
    "h": 227.097,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.35601,
    "c": 0.12629,
    "h": 267.8
  },
  "luminance": 0.04244
}

Semantic roles & 50–950 ramp

primary
#20347D
secondary
#B09A49
accent
#C145E2
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #20347D

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

Preview Lab → · Contrast checker → · Palette generator →

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