#20347B#20347B

#20347B is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.4% C 0.123 H 267.7°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#20347B
RGBrgb(32, 52, 123)
HSLhsl(227, 59%, 30%)
HSVhsv(227, 74%, 48%)
CMYKcmyk(74%, 57.7%, 0%, 51.8%)
CIE-LABlab(24.30, 18.49, -42.79)
CIE-LCHlch(24.30, 46.61, 293.37°)
OKLaboklab(35.43% -0.0049 -0.1232)
OKLCHoklch(35.43% 0.123 267.7)
XYZxyz(5.3976, 4.1926, 19.2598)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20347B #7B6720
analogous
#20617B #20347B #39207B
triadic
#20347B #7B2034 #347B20
tetradic
#20347B #7B2061 #7B6720 #207B39
square
#20347B #7B2061 #7B6720 #207B39
split-complementary
#20347B #7B3920 #617B20
monochromatic
#070B1A #131F4A #20347B #2D49AC #4664CF

Accessibility & contrast

On white

11.42
#20347B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20347B
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20347B#FFFFFF#000000##FFFFFF
##20347B1.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7D
Deuteranopia (green-blind)
#00367A
Tritanopia (blue-blind)
#004552
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #20347b;
/* rgb */ color: rgb(32, 52, 123);
/* oklch */ color: oklch(35.4% 0.123 267.7);
Tailwind
colors: {
  custom: {
    50: '#696ba2',
    500: '#20347b',
    950: '#000000',
  },
}
SCSS
$custom: #20347b;
$custom-light: #696ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#20347b",
  "rgb": {
    "r": 32,
    "g": 52,
    "b": 123
  },
  "hsl": {
    "h": 226.813,
    "s": 58.71,
    "l": 30.392
  },
  "oklch": {
    "l": 0.35429,
    "c": 0.12335,
    "h": 267.7
  },
  "luminance": 0.04193
}

Semantic roles & 50–950 ramp

primary
#20347B
secondary
#AE9849
accent
#C046E2
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #20347B

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

Preview Lab → · Contrast checker → · Palette generator →

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