#20194B#20194B

#20194B is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.5% C 0.089 H 284.6°. Best body text is #FFFFFF at 16.13:1 contrast (WCAG AA passes).

Color values

HEX#20194B
RGBrgb(32, 25, 75)
HSLhsl(248, 50%, 20%)
HSVhsv(248, 67%, 29%)
CMYKcmyk(57.3%, 66.7%, 0%, 70.6%)
CIE-LABlab(12.67, 19.18, -30.03)
CIE-LCHlch(12.67, 35.63, 302.57°)
OKLaboklab(25.52% 0.0223 -0.086)
OKLCHoklch(25.52% 0.089 284.6)
XYZxyz(2.2129, 1.5102, 6.8301)
Luminance0.0151 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20194B #444B19
analogous
#192B4B #20194B #39194B
triadic
#20194B #4B2019 #194B20
tetradic
#20194B #4B192B #444B19 #194B39
square
#20194B #4B192B #444B19 #194B39
split-complementary
#20194B #4B3919 #2B4B19
monochromatic
#0A0817 #0C0A1D #20194B #342879 #4738A7

Accessibility & contrast

On white

16.13
#20194B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#20194B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20194B
16.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20194B#FFFFFF#000000##FFFFFF
##20194B1.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)
#00224D
Deuteranopia (green-blind)
#001F4A
Tritanopia (blue-blind)
#0F252F
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #20194b;
/* rgb */ color: rgb(32, 25, 75);
/* oklch */ color: oklch(25.5% 0.089 284.6);
Tailwind
colors: {
  custom: {
    50: '#60567e',
    500: '#20194b',
    950: '#000000',
  },
}
SCSS
$custom: #20194b;
$custom-light: #60567e;
$custom-dark: #000000;
JSON
{
  "hex": "#20194b",
  "rgb": {
    "r": 32,
    "g": 25,
    "b": 75
  },
  "hsl": {
    "h": 248.4,
    "s": 50,
    "l": 19.608
  },
  "oklch": {
    "l": 0.25517,
    "c": 0.08888,
    "h": 284.6
  },
  "luminance": 0.0151
}

Semantic roles & 50–950 ramp

primary
#20194B
secondary
#78813E
accent
#DA4EC6
background
#F5F5F7
surface
#EAE9EE
border
#C6C5C9
text
#05030A
muted
#79787C

Preview Lab

Preview with #20194B

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

Preview Lab → · Contrast checker → · Palette generator →

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