#20197C#20197C

#20197C is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.7% C 0.157 H 275.0°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#20197C
RGBrgb(32, 25, 124)
HSLhsl(244, 66%, 29%)
HSVhsv(244, 80%, 49%)
CMYKcmyk(74.2%, 79.8%, 0%, 51.4%)
CIE-LABlab(17.72, 36.59, -54.20)
CIE-LCHlch(17.72, 65.39, 304.02°)
OKLaboklab(30.67% 0.0136 -0.1567)
OKLCHoklch(30.67% 0.157 275)
XYZxyz(4.5802, 2.4571, 19.2978)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20197C #757C19
analogous
#19447C #20197C #52197C
triadic
#20197C #7C2019 #197C20
tetradic
#20197C #7C1944 #757C19 #197C52
square
#20197C #7C1944 #757C19 #197C52
split-complementary
#20197C #7C5219 #447C19
monochromatic
#070519 #130F49 #20197C #2D23AF #4438D7

Accessibility & contrast

On white

14.08
#20197C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#20197C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20197C
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20197C#FFFFFF#000000##FFFFFF
##20197C1.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307F
Deuteranopia (green-blind)
#00277A
Tritanopia (blue-blind)
#00374A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #20197c;
/* rgb */ color: rgb(32, 25, 124);
/* oklch */ color: oklch(30.7% 0.157 275.0);
Tailwind
colors: {
  custom: {
    50: '#6c58a3',
    500: '#20197c',
    950: '#000000',
  },
}
SCSS
$custom: #20197c;
$custom-light: #6c58a3;
$custom-dark: #000000;
JSON
{
  "hex": "#20197c",
  "rgb": {
    "r": 32,
    "g": 25,
    "b": 124
  },
  "hsl": {
    "h": 244.242,
    "s": 66.443,
    "l": 29.216
  },
  "oklch": {
    "l": 0.30666,
    "c": 0.15733,
    "h": 275
  },
  "luminance": 0.02458
}

Semantic roles & 50–950 ramp

primary
#20197C
secondary
#A8B040
accent
#E93EDD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #20197C

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

Preview Lab → · Contrast checker → · Palette generator →

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