#20347F#20347F

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

Color values

HEX#20347F
RGBrgb(32, 52, 127)
HSLhsl(227, 60%, 31%)
HSVhsv(227, 75%, 50%)
CMYKcmyk(74.8%, 59.1%, 0%, 50.2%)
CIE-LABlab(24.62, 20.07, -44.79)
CIE-LCHlch(24.62, 49.08, 294.14°)
OKLaboklab(35.78% -0.0047 -0.1291)
OKLCHoklch(35.78% 0.129 267.9)
XYZxyz(5.6531, 4.2948, 20.6056)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20347F #7F6B20
analogous
#20637F #20347F #3B207F
triadic
#20347F #7F2034 #347F20
tetradic
#20347F #7F2063 #7F6B20 #207F3B
square
#20347F #7F2063 #7F6B20 #207F3B
split-complementary
#20347F #7F3B20 #637F20
monochromatic
#070C1D #14204E #20347F #2C48B0 #4865D1

Accessibility & contrast

On white

11.30
#20347F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#20347F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20347F
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20347F#FFFFFF#000000##FFFFFF
##20347F1.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F82
Deuteranopia (green-blind)
#00367E
Tritanopia (blue-blind)
#004754
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #20347f;
/* rgb */ color: rgb(32, 52, 127);
/* oklch */ color: oklch(35.8% 0.129 267.9);
Tailwind
colors: {
  custom: {
    50: '#6a6ba5',
    500: '#20347f',
    950: '#000000',
  },
}
SCSS
$custom: #20347f;
$custom-light: #6a6ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#20347f",
  "rgb": {
    "r": 32,
    "g": 52,
    "b": 127
  },
  "hsl": {
    "h": 227.368,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35775,
    "c": 0.12921,
    "h": 267.9
  },
  "luminance": 0.04295
}

Semantic roles & 50–950 ramp

primary
#20347F
secondary
#B29C49
accent
#C245E3
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #20347F

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

Preview Lab → · Contrast checker → · Palette generator →

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