#20184C#20184C

#20184C is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.4% C 0.092 H 284.8°. Best body text is #FFFFFF at 16.20:1 contrast (WCAG AA passes).

Color values

HEX#20184C
RGBrgb(32, 24, 76)
HSLhsl(249, 52%, 20%)
HSVhsv(249, 68%, 30%)
CMYKcmyk(57.9%, 68.4%, 0%, 70.2%)
CIE-LABlab(12.49, 20.25, -31.01)
CIE-LCHlch(12.49, 37.04, 303.14°)
OKLaboklab(25.41% 0.0235 -0.0889)
OKLCHoklch(25.41% 0.092 284.8)
XYZxyz(2.2264, 1.4820, 7.0048)
Luminance0.0148 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20184C #444C18
analogous
#182A4C #20184C #3A184C
triadic
#20184C #4C2018 #184C20
tetradic
#20184C #4C182A #444C18 #184C3A
square
#20184C #4C182A #444C18 #184C3A
split-complementary
#20184C #4C3A18 #2A4C18
monochromatic
#0A0717 #0C091D #20184C #34277B #4735A9

Accessibility & contrast

On white

16.20
#20184C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20184C
16.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20184C#FFFFFF#000000##FFFFFF
##20184C1.0016.201.3016.20
#FFFFFF16.201.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224E
Deuteranopia (green-blind)
#001F4B
Tritanopia (blue-blind)
#0E242F
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #20184c;
/* rgb */ color: rgb(32, 24, 76);
/* oklch */ color: oklch(25.4% 0.092 284.8);
Tailwind
colors: {
  custom: {
    50: '#60557e',
    500: '#20184c',
    950: '#000000',
  },
}
SCSS
$custom: #20184c;
$custom-light: #60557e;
$custom-dark: #000000;
JSON
{
  "hex": "#20184c",
  "rgb": {
    "r": 32,
    "g": 24,
    "b": 76
  },
  "hsl": {
    "h": 249.231,
    "s": 52,
    "l": 19.608
  },
  "oklch": {
    "l": 0.25413,
    "c": 0.09197,
    "h": 284.8
  },
  "luminance": 0.01482
}

Semantic roles & 50–950 ramp

primary
#20184C
secondary
#78833D
accent
#DB4CC5
background
#F5F4F7
surface
#EAE8EE
border
#C6C4C9
text
#05030A
muted
#79787C

Preview Lab

Preview with #20184C

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

Preview Lab → · Contrast checker → · Palette generator →

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