#20347A#20347A

#20347A is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.3% C 0.122 H 267.6°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#20347A
RGBrgb(32, 52, 122)
HSLhsl(227, 58%, 30%)
HSVhsv(227, 74%, 48%)
CMYKcmyk(73.8%, 57.4%, 0%, 52.2%)
CIE-LABlab(24.22, 18.09, -42.29)
CIE-LCHlch(24.22, 45.99, 293.16°)
OKLaboklab(35.34% -0.005 -0.1218)
OKLCHoklch(35.34% 0.122 267.6)
XYZxyz(5.3353, 4.1677, 18.9318)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20347A #7A6620
analogous
#20617A #20347A #39207A
triadic
#20347A #7A2034 #347A20
tetradic
#20347A #7A2061 #7A6620 #207A39
square
#20347A #7A2061 #7A6620 #207A39
split-complementary
#20347A #7A3920 #617A20
monochromatic
#070B19 #131F4A #20347A #2D49AA #4664CE

Accessibility & contrast

On white

11.45
#20347A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#20347A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20347A
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20347A#FFFFFF#000000##FFFFFF
##20347A1.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7C
Deuteranopia (green-blind)
#003679
Tritanopia (blue-blind)
#004551
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #20347a;
/* rgb */ color: rgb(32, 52, 122);
/* oklch */ color: oklch(35.3% 0.122 267.6);
Tailwind
colors: {
  custom: {
    50: '#696ba1',
    500: '#20347a',
    950: '#000000',
  },
}
SCSS
$custom: #20347a;
$custom-light: #696ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#20347a",
  "rgb": {
    "r": 32,
    "g": 52,
    "b": 122
  },
  "hsl": {
    "h": 226.667,
    "s": 58.442,
    "l": 30.196
  },
  "oklch": {
    "l": 0.35344,
    "c": 0.12187,
    "h": 267.6
  },
  "luminance": 0.04168
}

Semantic roles & 50–950 ramp

primary
#20347A
secondary
#AD9749
accent
#BF46E2
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #20347A

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

Preview Lab → · Contrast checker → · Palette generator →

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