#20198F#20198F

#20198F is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.9% C 0.181 H 272.8°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#20198F
RGBrgb(32, 25, 143)
HSLhsl(244, 70%, 33%)
HSVhsv(244, 83%, 56%)
CMYKcmyk(77.6%, 82.5%, 0%, 43.9%)
CIE-LABlab(19.98, 42.87, -62.43)
CIE-LCHlch(19.98, 75.73, 304.48°)
OKLaboklab(32.9% 0.0089 -0.1806)
OKLCHoklch(32.9% 0.181 272.8)
XYZxyz(5.8996, 2.9849, 26.2465)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20198F #888F19
analogous
#194D8F #20198F #5B198F
triadic
#20198F #8F2019 #198F20
tetradic
#20198F #8F194D #888F19 #198F5B
square
#20198F #8F194D #888F19 #198F5B
split-complementary
#20198F #8F5B19 #4D8F19
monochromatic
#090727 #14105B #20198F #2C22C3 #4D44DE

Accessibility & contrast

On white

13.15
#20198F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#20198F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20198F
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20198F#FFFFFF#000000##FFFFFF
##20198F1.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003692
Deuteranopia (green-blind)
#002A8D
Tritanopia (blue-blind)
#003E55
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #20198f;
/* rgb */ color: rgb(32, 25, 143);
/* oklch */ color: oklch(32.9% 0.181 272.8);
Tailwind
colors: {
  custom: {
    50: '#7059b1',
    500: '#20198f',
    950: '#000000',
  },
}
SCSS
$custom: #20198f;
$custom-light: #7059b1;
$custom-dark: #000000;
JSON
{
  "hex": "#20198f",
  "rgb": {
    "r": 32,
    "g": 25,
    "b": 143
  },
  "hsl": {
    "h": 243.559,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.32904,
    "c": 0.18085,
    "h": 272.8
  },
  "luminance": 0.02986
}

Semantic roles & 50–950 ramp

primary
#20198F
secondary
#B8BF44
accent
#ED3BE2
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #20198F

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

Preview Lab → · Contrast checker → · Palette generator →

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