#20185A#20185A

#20185A is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.8% C 0.113 H 281.1°. Best body text is #FFFFFF at 15.67:1 contrast (WCAG AA passes).

Color values

HEX#20185A
RGBrgb(32, 24, 90)
HSLhsl(247, 58%, 22%)
HSVhsv(247, 73%, 35%)
CMYKcmyk(64.4%, 73.3%, 0%, 64.7%)
CIE-LABlab(13.82, 25.30, -38.38)
CIE-LCHlch(13.82, 45.97, 303.39°)
OKLaboklab(26.78% 0.0217 -0.1106)
OKLCHoklch(26.78% 0.113 281.1)
XYZxyz(2.7672, 1.6983, 9.8529)
Luminance0.0170 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20185A #525A18
analogous
#18315A #20185A #41185A
triadic
#20185A #5A2018 #185A20
tetradic
#20185A #5A1831 #525A18 #185A41
square
#20185A #5A1831 #525A18 #185A41
split-complementary
#20185A #5A4118 #315A18
monochromatic
#090618 #0F0B2A #20185A #31258A #4232BB

Accessibility & contrast

On white

15.67
#20185A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#20185A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20185A
15.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20185A#FFFFFF#000000##FFFFFF
##20185A1.0015.671.3415.67
#FFFFFF15.671.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265C
Deuteranopia (green-blind)
#002159
Tritanopia (blue-blind)
#002936
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #20185a;
/* rgb */ color: rgb(32, 24, 90);
/* oklch */ color: oklch(26.8% 0.113 281.1);
Tailwind
colors: {
  custom: {
    50: '#635589',
    500: '#20185a',
    950: '#000000',
  },
}
SCSS
$custom: #20185a;
$custom-light: #635589;
$custom-dark: #000000;
JSON
{
  "hex": "#20185a",
  "rgb": {
    "r": 32,
    "g": 24,
    "b": 90
  },
  "hsl": {
    "h": 247.273,
    "s": 57.895,
    "l": 22.353
  },
  "oklch": {
    "l": 0.26784,
    "c": 0.11267,
    "h": 281.1
  },
  "luminance": 0.01699
}

Semantic roles & 50–950 ramp

primary
#20185A
secondary
#86913D
accent
#E147CE
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #20185A

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

Preview Lab → · Contrast checker → · Palette generator →

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