#20189B#20189B

#20189B is a dark, vivid blue. Relative luminance 0.033; OKLCH L 34.2% C 0.196 H 271.8°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#20189B
RGBrgb(32, 24, 155)
HSLhsl(244, 73%, 35%)
HSVhsv(244, 85%, 61%)
CMYKcmyk(79.4%, 84.5%, 0%, 39.2%)
CIE-LABlab(21.31, 47.14, -67.66)
CIE-LCHlch(21.31, 82.46, 304.87°)
OKLaboklab(34.25% 0.0061 -0.1957)
OKLCHoklch(34.25% 0.196 271.8)
XYZxyz(6.8367, 3.3261, 31.2857)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20189B #939B18
analogous
#18529B #20189B #61189B
triadic
#20189B #9B2018 #189B20
tetradic
#20189B #9B1852 #939B18 #189B61
square
#20189B #9B1852 #939B18 #189B61
split-complementary
#20189B #9B6118 #529B18
monochromatic
#0A0831 #151066 #20189B #2B20D0 #544AE3

Accessibility & contrast

On white

12.61
#20189B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#20189B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20189B
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20189B#FFFFFF#000000##FFFFFF
##20189B1.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00399F
Deuteranopia (green-blind)
#002D99
Tritanopia (blue-blind)
#00435C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #20189b;
/* rgb */ color: rgb(32, 24, 155);
/* oklch */ color: oklch(34.2% 0.196 271.8);
Tailwind
colors: {
  custom: {
    50: '#745aba',
    500: '#20189b',
    950: '#000000',
  },
}
SCSS
$custom: #20189b;
$custom-light: #745aba;
$custom-dark: #000000;
JSON
{
  "hex": "#20189b",
  "rgb": {
    "r": 32,
    "g": 24,
    "b": 155
  },
  "hsl": {
    "h": 243.664,
    "s": 73.184,
    "l": 35.098
  },
  "oklch": {
    "l": 0.34246,
    "c": 0.19583,
    "h": 271.8
  },
  "luminance": 0.03327
}

Semantic roles & 50–950 ramp

primary
#20189B
secondary
#BDC54A
accent
#F038E5
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #20189B

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

Preview Lab → · Contrast checker → · Palette generator →

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