#20367F#20367F

#20367F is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.2% C 0.127 H 267.1°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#20367F
RGBrgb(32, 54, 127)
HSLhsl(226, 60%, 31%)
HSVhsv(226, 75%, 50%)
CMYKcmyk(74.8%, 57.5%, 0%, 50.2%)
CIE-LABlab(25.19, 18.67, -43.87)
CIE-LCHlch(25.19, 47.67, 293.06°)
OKLaboklab(36.2% -0.0064 -0.1264)
OKLCHoklch(36.2% 0.127 267.1)
XYZxyz(5.7443, 4.4771, 20.6360)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20367F #7F6920
analogous
#20657F #20367F #39207F
triadic
#20367F #7F2036 #367F20
tetradic
#20367F #7F2065 #7F6920 #207F39
square
#20367F #7F2065 #7F6920 #207F39
split-complementary
#20367F #7F3920 #657F20
monochromatic
#070C1D #14214E #20367F #2C4BB0 #4868D1

Accessibility & contrast

On white

11.08
#20367F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#20367F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20367F
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20367F#FFFFFF#000000##FFFFFF
##20367F1.0011.081.9011.08
#FFFFFF11.081.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004082
Deuteranopia (green-blind)
#00387E
Tritanopia (blue-blind)
#004855
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #20367f;
/* rgb */ color: rgb(32, 54, 127);
/* oklch */ color: oklch(36.2% 0.127 267.1);
Tailwind
colors: {
  custom: {
    50: '#6a6ca5',
    500: '#20367f',
    950: '#000000',
  },
}
SCSS
$custom: #20367f;
$custom-light: #6a6ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#20367f",
  "rgb": {
    "r": 32,
    "g": 54,
    "b": 127
  },
  "hsl": {
    "h": 226.105,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.36201,
    "c": 0.12654,
    "h": 267.1
  },
  "luminance": 0.04478
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #20367F

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

Preview Lab → · Contrast checker → · Palette generator →

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