#20369E#20369E

#20369E is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.0% C 0.170 H 267.9°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#20369E
RGBrgb(32, 54, 158)
HSLhsl(230, 66%, 37%)
HSVhsv(230, 80%, 62%)
CMYKcmyk(79.7%, 65.8%, 0%, 38%)
CIE-LABlab(27.88, 30.75, -58.63)
CIE-LCHlch(27.88, 66.21, 297.67°)
OKLaboklab(39.03% -0.0063 -0.1697)
OKLCHoklch(39.03% 0.17 267.9)
XYZxyz(8.0842, 5.4131, 32.9599)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20369E #9E8820
analogous
#20759E #20369E #49209E
triadic
#20369E #9E2036 #369E20
tetradic
#20369E #9E2075 #9E8820 #209E49
square
#20369E #9E2075 #9E8820 #209E49
split-complementary
#20369E #9E4920 #759E20
monochromatic
#0B1338 #16256B #20369E #2A47D1 #5B72DE

Accessibility & contrast

On white

10.08
#20369E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#20369E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20369E
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20369E#FFFFFF#000000##FFFFFF
##20369E1.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A1
Deuteranopia (green-blind)
#003C9C
Tritanopia (blue-blind)
#005265
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #20369e;
/* rgb */ color: rgb(32, 54, 158);
/* oklch */ color: oklch(39.0% 0.170 267.9);
Tailwind
colors: {
  custom: {
    50: '#726dbc',
    500: '#20369e',
    950: '#000000',
  },
}
SCSS
$custom: #20369e;
$custom-light: #726dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#20369e",
  "rgb": {
    "r": 32,
    "g": 54,
    "b": 158
  },
  "hsl": {
    "h": 229.524,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.39035,
    "c": 0.16982,
    "h": 267.9
  },
  "luminance": 0.05414
}

Semantic roles & 50–950 ramp

primary
#20369E
secondary
#C2AF58
accent
#CB3FE9
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #20369E

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

Preview Lab → · Contrast checker → · Palette generator →

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