#20197D#20197D

#20197D is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.8% C 0.159 H 274.8°. Best body text is #FFFFFF at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#20197D
RGBrgb(32, 25, 125)
HSLhsl(244, 67%, 29%)
HSVhsv(244, 80%, 49%)
CMYKcmyk(74.4%, 80%, 0%, 51%)
CIE-LABlab(17.84, 36.93, -54.64)
CIE-LCHlch(17.84, 65.95, 304.05°)
OKLaboklab(30.78% 0.0134 -0.158)
OKLCHoklch(30.78% 0.159 274.8)
XYZxyz(4.6437, 2.4826, 19.6325)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20197D #767D19
analogous
#19447D #20197D #52197D
triadic
#20197D #7D2019 #197D20
tetradic
#20197D #7D1944 #767D19 #197D52
square
#20197D #7D1944 #767D19 #197D52
split-complementary
#20197D #7D5219 #447D19
monochromatic
#07051A #130F4A #20197D #2D23B0 #4439D7

Accessibility & contrast

On white

14.03
#20197D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#20197D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20197D
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20197D#FFFFFF#000000##FFFFFF
##20197D1.0014.031.5014.03
#FFFFFF14.031.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003080
Deuteranopia (green-blind)
#00277B
Tritanopia (blue-blind)
#00374A
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #20197d;
/* rgb */ color: rgb(32, 25, 125);
/* oklch */ color: oklch(30.8% 0.159 274.8);
Tailwind
colors: {
  custom: {
    50: '#6c58a4',
    500: '#20197d',
    950: '#000000',
  },
}
SCSS
$custom: #20197d;
$custom-light: #6c58a4;
$custom-dark: #000000;
JSON
{
  "hex": "#20197d",
  "rgb": {
    "r": 32,
    "g": 25,
    "b": 125
  },
  "hsl": {
    "h": 244.2,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.30781,
    "c": 0.15859,
    "h": 274.8
  },
  "luminance": 0.02483
}

Semantic roles & 50–950 ramp

primary
#20197D
secondary
#A9B140
accent
#EA3EDE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #20197D

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

Preview Lab → · Contrast checker → · Palette generator →

#20197D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva