#20189F#20189F

#20189F is a dark, highly saturated blue. Relative luminance 0.035; OKLCH L 34.7% C 0.200 H 271.4°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#20189F
RGBrgb(32, 24, 159)
HSLhsl(244, 74%, 36%)
HSVhsv(244, 85%, 62%)
CMYKcmyk(79.9%, 84.9%, 0%, 37.6%)
CIE-LABlab(21.81, 48.38, -69.27)
CIE-LCHlch(21.81, 84.49, 304.93°)
OKLaboklab(34.74% 0.0051 -0.2004)
OKLCHoklch(34.74% 0.2 271.4)
XYZxyz(7.1782, 3.4627, 33.0842)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20189F #979F18
analogous
#18539F #20189F #63189F
triadic
#20189F #9F2018 #189F20
tetradic
#20189F #9F1853 #979F18 #189F63
square
#20189F #9F1853 #979F18 #189F63
split-complementary
#20189F #9F6318 #539F18
monochromatic
#0B0835 #15106A #20189F #2B20D4 #564DE4

Accessibility & contrast

On white

12.41
#20189F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#20189F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20189F
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20189F#FFFFFF#000000##FFFFFF
##20189F1.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA3
Deuteranopia (green-blind)
#002D9D
Tritanopia (blue-blind)
#00445E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #20189f;
/* rgb */ color: rgb(32, 24, 159);
/* oklch */ color: oklch(34.7% 0.200 271.4);
Tailwind
colors: {
  custom: {
    50: '#755abd',
    500: '#20189f',
    950: '#000000',
  },
}
SCSS
$custom: #20189f;
$custom-light: #755abd;
$custom-dark: #000000;
JSON
{
  "hex": "#20189f",
  "rgb": {
    "r": 32,
    "g": 24,
    "b": 159
  },
  "hsl": {
    "h": 243.556,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.34737,
    "c": 0.20047,
    "h": 271.4
  },
  "luminance": 0.03464
}

Semantic roles & 50–950 ramp

primary
#20189F
secondary
#BFC64D
accent
#F037E5
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #20189F

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

Preview Lab → · Contrast checker → · Palette generator →

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