#20198A#20198A

#20198A is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.3% C 0.175 H 273.3°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#20198A
RGBrgb(32, 25, 138)
HSLhsl(244, 69%, 32%)
HSVhsv(244, 82%, 54%)
CMYKcmyk(76.8%, 81.9%, 0%, 45.9%)
CIE-LABlab(19.38, 41.25, -60.31)
CIE-LCHlch(19.38, 73.07, 304.37°)
OKLaboklab(32.31% 0.0101 -0.1745)
OKLCHoklch(32.31% 0.175 273.3)
XYZxyz(5.5292, 2.8367, 24.2960)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20198A #838A19
analogous
#194B8A #20198A #59198A
triadic
#20198A #8A2019 #198A20
tetradic
#20198A #8A194B #838A19 #198A59
square
#20198A #8A194B #838A19 #198A59
split-complementary
#20198A #8A5919 #4B8A19
monochromatic
#080622 #141056 #20198A #2C22BE #4A41DD

Accessibility & contrast

On white

13.40
#20198A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#20198A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20198A
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20198A#FFFFFF#000000##FFFFFF
##20198A1.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00348D
Deuteranopia (green-blind)
#002988
Tritanopia (blue-blind)
#003C52
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #20198a;
/* rgb */ color: rgb(32, 25, 138);
/* oklch */ color: oklch(32.3% 0.175 273.3);
Tailwind
colors: {
  custom: {
    50: '#6f59ad',
    500: '#20198a',
    950: '#000000',
  },
}
SCSS
$custom: #20198a;
$custom-light: #6f59ad;
$custom-dark: #000000;
JSON
{
  "hex": "#20198a",
  "rgb": {
    "r": 32,
    "g": 25,
    "b": 138
  },
  "hsl": {
    "h": 243.717,
    "s": 69.325,
    "l": 31.961
  },
  "oklch": {
    "l": 0.32307,
    "c": 0.17478,
    "h": 273.3
  },
  "luminance": 0.02837
}

Semantic roles & 50–950 ramp

primary
#20198A
secondary
#B6BD42
accent
#EC3CE1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #20198A

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

Preview Lab → · Contrast checker → · Palette generator →

#20198A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva