#20367D#20367D

#20367D is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.0% C 0.124 H 267.0°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#20367D
RGBrgb(32, 54, 125)
HSLhsl(226, 59%, 31%)
HSVhsv(226, 74%, 49%)
CMYKcmyk(74.4%, 56.8%, 0%, 51%)
CIE-LABlab(25.03, 17.88, -42.86)
CIE-LCHlch(25.03, 46.44, 292.64°)
OKLaboklab(36.03% -0.0065 -0.1234)
OKLCHoklch(36.03% 0.124 267)
XYZxyz(5.6152, 4.4255, 19.9563)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20367D #7D6720
analogous
#20647D #20367D #38207D
triadic
#20367D #7D2036 #367D20
tetradic
#20367D #7D2064 #7D6720 #207D38
square
#20367D #7D2064 #7D6720 #207D38
split-complementary
#20367D #7D3820 #647D20
monochromatic
#070C1C #14214C #20367D #2C4BAE #4768D0

Accessibility & contrast

On white

11.14
#20367D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20367D
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20367D#FFFFFF#000000##FFFFFF
##20367D1.0011.141.8911.14
#FFFFFF11.141.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00407F
Deuteranopia (green-blind)
#00377C
Tritanopia (blue-blind)
#004754
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #20367d;
/* rgb */ color: rgb(32, 54, 125);
/* oklch */ color: oklch(36.0% 0.124 267.0);
Tailwind
colors: {
  custom: {
    50: '#696ca3',
    500: '#20367d',
    950: '#000000',
  },
}
SCSS
$custom: #20367d;
$custom-light: #696ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#20367d",
  "rgb": {
    "r": 32,
    "g": 54,
    "b": 125
  },
  "hsl": {
    "h": 225.806,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.36031,
    "c": 0.12361,
    "h": 267
  },
  "luminance": 0.04426
}

Semantic roles & 50–950 ramp

primary
#20367D
secondary
#B09849
accent
#BD45E2
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #20367D

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

Preview Lab → · Contrast checker → · Palette generator →

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