#20185D#20185D

#20185D is a dark, moderate blue. Relative luminance 0.018; OKLCH L 27.1% C 0.117 H 280.4°. Best body text is #FFFFFF at 15.55:1 contrast (WCAG AA passes).

Color values

HEX#20185D
RGBrgb(32, 24, 93)
HSLhsl(247, 59%, 23%)
HSVhsv(247, 74%, 36%)
CMYKcmyk(65.6%, 74.2%, 0%, 63.5%)
CIE-LABlab(14.12, 26.37, -39.90)
CIE-LCHlch(14.12, 47.83, 303.46°)
OKLaboklab(27.09% 0.0212 -0.115)
OKLCHoklch(27.09% 0.117 280.4)
XYZxyz(2.8975, 1.7504, 10.5390)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20185D #555D18
analogous
#18325D #20185D #42185D
triadic
#20185D #5D2018 #185D20
tetradic
#20185D #5D1832 #555D18 #185D42
square
#20185D #5D1832 #555D18 #185D42
split-complementary
#20185D #5D4218 #325D18
monochromatic
#080618 #0F0B2C #20185D #31258E #4131BE

Accessibility & contrast

On white

15.55
#20185D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#20185D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20185D
15.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20185D#FFFFFF#000000##FFFFFF
##20185D1.0015.551.3515.55
#FFFFFF15.551.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265F
Deuteranopia (green-blind)
#00215C
Tritanopia (blue-blind)
#002A38
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #20185d;
/* rgb */ color: rgb(32, 24, 93);
/* oklch */ color: oklch(27.1% 0.117 280.4);
Tailwind
colors: {
  custom: {
    50: '#64568c',
    500: '#20185d',
    950: '#000000',
  },
}
SCSS
$custom: #20185d;
$custom-light: #64568c;
$custom-dark: #000000;
JSON
{
  "hex": "#20185d",
  "rgb": {
    "r": 32,
    "g": 24,
    "b": 93
  },
  "hsl": {
    "h": 246.957,
    "s": 58.974,
    "l": 22.941
  },
  "oklch": {
    "l": 0.27093,
    "c": 0.11693,
    "h": 280.4
  },
  "luminance": 0.01751
}

Semantic roles & 50–950 ramp

primary
#20185D
secondary
#8A933D
accent
#E246D0
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #20185D

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

Preview Lab → · Contrast checker → · Palette generator →

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