#20347C#20347C

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

Color values

HEX#20347C
RGBrgb(32, 52, 124)
HSLhsl(227, 59%, 31%)
HSVhsv(227, 74%, 49%)
CMYKcmyk(74.2%, 58.1%, 0%, 51.4%)
CIE-LABlab(24.38, 18.89, -43.29)
CIE-LCHlch(24.38, 47.23, 293.57°)
OKLaboklab(35.52% -0.0049 -0.1247)
OKLCHoklch(35.52% 0.125 267.8)
XYZxyz(5.4605, 4.2177, 19.5912)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20347C #7C6820
analogous
#20627C #20347C #3A207C
triadic
#20347C #7C2034 #347C20
tetradic
#20347C #7C2062 #7C6820 #207C3A
square
#20347C #7C2062 #7C6820 #207C3A
split-complementary
#20347C #7C3A20 #627C20
monochromatic
#070B1B #13204B #20347C #2D48AD #4765CF

Accessibility & contrast

On white

11.39
#20347C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#20347C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20347C
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20347C#FFFFFF#000000##FFFFFF
##20347C1.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7E
Deuteranopia (green-blind)
#00367B
Tritanopia (blue-blind)
#004652
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #20347c;
/* rgb */ color: rgb(32, 52, 124);
/* oklch */ color: oklch(35.5% 0.125 267.8);
Tailwind
colors: {
  custom: {
    50: '#696ba2',
    500: '#20347c',
    950: '#000000',
  },
}
SCSS
$custom: #20347c;
$custom-light: #696ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#20347c",
  "rgb": {
    "r": 32,
    "g": 52,
    "b": 124
  },
  "hsl": {
    "h": 226.957,
    "s": 58.974,
    "l": 30.588
  },
  "oklch": {
    "l": 0.35515,
    "c": 0.12483,
    "h": 267.8
  },
  "luminance": 0.04218
}

Semantic roles & 50–950 ramp

primary
#20347C
secondary
#AF9949
accent
#C046E2
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #20347C

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

Preview Lab → · Contrast checker → · Palette generator →

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