#20184E#20184E

#20184E is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.6% C 0.095 H 284.2°. Best body text is #FFFFFF at 16.13:1 contrast (WCAG AA passes).

Color values

HEX#20184E
RGBrgb(32, 24, 78)
HSLhsl(249, 53%, 20%)
HSVhsv(249, 69%, 31%)
CMYKcmyk(59%, 69.2%, 0%, 69.4%)
CIE-LABlab(12.67, 20.97, -32.10)
CIE-LCHlch(12.67, 38.34, 303.15°)
OKLaboklab(25.6% 0.0233 -0.0921)
OKLCHoklch(25.6% 0.095 284.2)
XYZxyz(2.2970, 1.5103, 7.3767)
Luminance0.0151 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20184E #464E18
analogous
#182B4E #20184E #3B184E
triadic
#20184E #4E2018 #184E20
tetradic
#20184E #4E182B #464E18 #184E3B
square
#20184E #4E182B #464E18 #184E3B
split-complementary
#20184E #4E3B18 #2B4E18
monochromatic
#0A0717 #0D0A1F #20184E #33267D #4635AC

Accessibility & contrast

On white

16.13
#20184E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#20184E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20184E
16.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20184E#FFFFFF#000000##FFFFFF
##20184E1.0016.131.3016.13
#FFFFFF16.131.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002250
Deuteranopia (green-blind)
#001F4D
Tritanopia (blue-blind)
#0C2530
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #20184e;
/* rgb */ color: rgb(32, 24, 78);
/* oklch */ color: oklch(25.6% 0.095 284.2);
Tailwind
colors: {
  custom: {
    50: '#615580',
    500: '#20184e',
    950: '#000000',
  },
}
SCSS
$custom: #20184e;
$custom-light: #615580;
$custom-dark: #000000;
JSON
{
  "hex": "#20184e",
  "rgb": {
    "r": 32,
    "g": 24,
    "b": 78
  },
  "hsl": {
    "h": 248.889,
    "s": 52.941,
    "l": 20
  },
  "oklch": {
    "l": 0.25601,
    "c": 0.09501,
    "h": 284.2
  },
  "luminance": 0.0151
}

Semantic roles & 50–950 ramp

primary
#20184E
secondary
#7A853D
accent
#DC4BC7
background
#F5F4F7
surface
#EAE8EE
border
#C6C4C9
text
#05030A
muted
#79787C

Preview Lab

Preview with #20184E

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

Preview Lab → · Contrast checker → · Palette generator →

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