#20367E#20367E

#20367E is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.1% C 0.125 H 267.0°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#20367E
RGBrgb(32, 54, 126)
HSLhsl(226, 59%, 31%)
HSVhsv(226, 75%, 49%)
CMYKcmyk(74.6%, 57.1%, 0%, 50.6%)
CIE-LABlab(25.11, 18.28, -43.36)
CIE-LCHlch(25.11, 47.06, 292.85°)
OKLaboklab(36.12% -0.0065 -0.1249)
OKLCHoklch(36.12% 0.125 267)
XYZxyz(5.6794, 4.4512, 20.2945)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20367E #7E6820
analogous
#20657E #20367E #39207E
triadic
#20367E #7E2036 #367E20
tetradic
#20367E #7E2065 #7E6820 #207E39
square
#20367E #7E2065 #7E6820 #207E39
split-complementary
#20367E #7E3920 #657E20
monochromatic
#070C1C #14214D #20367E #2C4BAF #4868D0

Accessibility & contrast

On white

11.11
#20367E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#20367E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20367E
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20367E#FFFFFF#000000##FFFFFF
##20367E1.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004080
Deuteranopia (green-blind)
#00377D
Tritanopia (blue-blind)
#004854
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #20367e;
/* rgb */ color: rgb(32, 54, 126);
/* oklch */ color: oklch(36.1% 0.125 267.0);
Tailwind
colors: {
  custom: {
    50: '#696ca4',
    500: '#20367e',
    950: '#000000',
  },
}
SCSS
$custom: #20367e;
$custom-light: #696ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#20367e",
  "rgb": {
    "r": 32,
    "g": 54,
    "b": 126
  },
  "hsl": {
    "h": 225.957,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.36116,
    "c": 0.12508,
    "h": 267
  },
  "luminance": 0.04452
}

Semantic roles & 50–950 ramp

primary
#20367E
secondary
#B19949
accent
#BE45E3
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #20367E

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

Preview Lab → · Contrast checker → · Palette generator →

#20367E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva