#20188A#20188A

#20188A is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.2% C 0.176 H 273.4°. Best body text is #FFFFFF at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#20188A
RGBrgb(32, 24, 138)
HSLhsl(244, 70%, 32%)
HSVhsv(244, 83%, 54%)
CMYKcmyk(76.8%, 82.6%, 0%, 45.9%)
CIE-LABlab(19.20, 41.76, -60.60)
CIE-LCHlch(19.20, 73.60, 304.57°)
OKLaboklab(32.19% 0.0105 -0.1753)
OKLCHoklch(32.19% 0.176 273.4)
XYZxyz(5.5082, 2.7947, 24.2890)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20188A #828A18
analogous
#18498A #20188A #59188A
triadic
#20188A #8A2018 #188A20
tetradic
#20188A #8A1849 #828A18 #188A59
square
#20188A #8A1849 #828A18 #188A59
split-complementary
#20188A #8A5918 #498A18
monochromatic
#080622 #140F56 #20188A #2C21BE #4A3FDE

Accessibility & contrast

On white

13.47
#20188A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#20188A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20188A
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20188A#FFFFFF#000000##FFFFFF
##20188A1.0013.471.5613.47
#FFFFFF13.471.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.471.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: #20188a;
/* rgb */ color: rgb(32, 24, 138);
/* oklch */ color: oklch(32.2% 0.176 273.4);
Tailwind
colors: {
  custom: {
    50: '#6f58ad',
    500: '#20188a',
    950: '#000000',
  },
}
SCSS
$custom: #20188a;
$custom-light: #6f58ad;
$custom-dark: #000000;
JSON
{
  "hex": "#20188a",
  "rgb": {
    "r": 32,
    "g": 24,
    "b": 138
  },
  "hsl": {
    "h": 244.211,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.32185,
    "c": 0.17562,
    "h": 273.4
  },
  "luminance": 0.02795
}

Semantic roles & 50–950 ramp

primary
#20188A
secondary
#B5BD40
accent
#ED3BE1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #20188A

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

Preview Lab → · Contrast checker → · Palette generator →

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