#20197A#20197A

#20197A is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.4% C 0.155 H 275.2°. Best body text is #FFFFFF at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#20197A
RGBrgb(32, 25, 122)
HSLhsl(244, 66%, 29%)
HSVhsv(244, 80%, 48%)
CMYKcmyk(73.8%, 79.5%, 0%, 52.2%)
CIE-LABlab(17.49, 35.91, -53.30)
CIE-LCHlch(17.49, 64.27, 303.97°)
OKLaboklab(30.44% 0.0141 -0.1541)
OKLCHoklch(30.44% 0.155 275.2)
XYZxyz(4.4550, 2.4071, 18.6384)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20197A #737A19
analogous
#19437A #20197A #51197A
triadic
#20197A #7A2019 #197A20
tetradic
#20197A #7A1943 #737A19 #197A51
square
#20197A #7A1943 #737A19 #197A51
split-complementary
#20197A #7A5119 #437A19
monochromatic
#070519 #130F47 #20197A #2D23AD #4337D6

Accessibility & contrast

On white

14.18
#20197A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#20197A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20197A
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20197A#FFFFFF#000000##FFFFFF
##20197A1.0014.181.4814.18
#FFFFFF14.181.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F7D
Deuteranopia (green-blind)
#002678
Tritanopia (blue-blind)
#003649
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #20197a;
/* rgb */ color: rgb(32, 25, 122);
/* oklch */ color: oklch(30.4% 0.155 275.2);
Tailwind
colors: {
  custom: {
    50: '#6b58a2',
    500: '#20197a',
    950: '#000000',
  },
}
SCSS
$custom: #20197a;
$custom-light: #6b58a2;
$custom-dark: #000000;
JSON
{
  "hex": "#20197a",
  "rgb": {
    "r": 32,
    "g": 25,
    "b": 122
  },
  "hsl": {
    "h": 244.33,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.30436,
    "c": 0.15477,
    "h": 275.2
  },
  "luminance": 0.02407
}

Semantic roles & 50–950 ramp

primary
#20197A
secondary
#A7AF40
accent
#E93FDD
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #20197A

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

Preview Lab → · Contrast checker → · Palette generator →

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