#20184F#20184F

#20184F is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.7% C 0.097 H 283.9°. Best body text is #FFFFFF at 16.09:1 contrast (WCAG AA passes).

Color values

HEX#20184F
RGBrgb(32, 24, 79)
HSLhsl(249, 53%, 20%)
HSVhsv(249, 70%, 31%)
CMYKcmyk(59.5%, 69.6%, 0%, 69%)
CIE-LABlab(12.76, 21.33, -32.63)
CIE-LCHlch(12.76, 38.99, 303.17°)
OKLaboklab(25.7% 0.0232 -0.0937)
OKLCHoklch(25.7% 0.097 283.9)
XYZxyz(2.3332, 1.5247, 7.5670)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20184F #474F18
analogous
#182C4F #20184F #3B184F
triadic
#20184F #4F2018 #184F20
tetradic
#20184F #4F182C #474F18 #184F3B
square
#20184F #4F182C #474F18 #184F3B
split-complementary
#20184F #4F3B18 #2C4F18
monochromatic
#0A0717 #0D0A20 #20184F #33267E #4635AD

Accessibility & contrast

On white

16.09
#20184F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#20184F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20184F
16.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20184F#FFFFFF#000000##FFFFFF
##20184F1.0016.091.3116.09
#FFFFFF16.091.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002351
Deuteranopia (green-blind)
#001F4E
Tritanopia (blue-blind)
#0B2531
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #20184f;
/* rgb */ color: rgb(32, 24, 79);
/* oklch */ color: oklch(25.7% 0.097 283.9);
Tailwind
colors: {
  custom: {
    50: '#615581',
    500: '#20184f',
    950: '#000000',
  },
}
SCSS
$custom: #20184f;
$custom-light: #615581;
$custom-dark: #000000;
JSON
{
  "hex": "#20184f",
  "rgb": {
    "r": 32,
    "g": 24,
    "b": 79
  },
  "hsl": {
    "h": 248.727,
    "s": 53.398,
    "l": 20.196
  },
  "oklch": {
    "l": 0.25696,
    "c": 0.09652,
    "h": 283.9
  },
  "luminance": 0.01525
}

Semantic roles & 50–950 ramp

primary
#20184F
secondary
#7B863D
accent
#DD4BC8
background
#F5F4F7
surface
#EAE8EE
border
#C6C4C9
text
#05030A
muted
#79787C

Preview Lab

Preview with #20184F

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

Preview Lab → · Contrast checker → · Palette generator →

#20184F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva