#20184B#20184B

#20184B is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.3% C 0.090 H 285.1°. Best body text is #FFFFFF at 16.23:1 contrast (WCAG AA passes).

Color values

HEX#20184B
RGBrgb(32, 24, 75)
HSLhsl(249, 52%, 19%)
HSVhsv(249, 68%, 29%)
CMYKcmyk(57.3%, 68%, 0%, 70.6%)
CIE-LABlab(12.40, 19.89, -30.47)
CIE-LCHlch(12.40, 36.38, 303.13°)
OKLaboklab(25.32% 0.0236 -0.0873)
OKLCHoklch(25.32% 0.09 285.1)
XYZxyz(2.1919, 1.4682, 6.8231)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20184B #434B18
analogous
#182A4B #20184B #3A184B
triadic
#20184B #4B2018 #184B20
tetradic
#20184B #4B182A #434B18 #184B3A
square
#20184B #4B182A #434B18 #184B3A
split-complementary
#20184B #4B3A18 #2A4B18
monochromatic
#0A0717 #0C091D #20184B #342779 #4836A8

Accessibility & contrast

On white

16.23
#20184B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#20184B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20184B
16.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20184B#FFFFFF#000000##FFFFFF
##20184B1.0016.231.2916.23
#FFFFFF16.231.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224D
Deuteranopia (green-blind)
#001F4A
Tritanopia (blue-blind)
#0F242E
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #20184b;
/* rgb */ color: rgb(32, 24, 75);
/* oklch */ color: oklch(25.3% 0.090 285.1);
Tailwind
colors: {
  custom: {
    50: '#60557e',
    500: '#20184b',
    950: '#000000',
  },
}
SCSS
$custom: #20184b;
$custom-light: #60557e;
$custom-dark: #000000;
JSON
{
  "hex": "#20184b",
  "rgb": {
    "r": 32,
    "g": 24,
    "b": 75
  },
  "hsl": {
    "h": 249.412,
    "s": 51.515,
    "l": 19.412
  },
  "oklch": {
    "l": 0.2532,
    "c": 0.09044,
    "h": 285.1
  },
  "luminance": 0.01468
}

Semantic roles & 50–950 ramp

primary
#20184B
secondary
#77823D
accent
#DB4DC5
background
#F5F4F7
surface
#EAE8EE
border
#C6C4C9
text
#05030A
muted
#79787C

Preview Lab

Preview with #20184B

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

Preview Lab → · Contrast checker → · Palette generator →

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