#20194E#20194E

#20194E is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.8% C 0.094 H 283.7°. Best body text is #FFFFFF at 16.03:1 contrast (WCAG AA passes).

Color values

HEX#20194E
RGBrgb(32, 25, 78)
HSLhsl(248, 51%, 20%)
HSVhsv(248, 68%, 31%)
CMYKcmyk(59%, 67.9%, 0%, 69.4%)
CIE-LABlab(12.94, 20.27, -31.67)
CIE-LCHlch(12.94, 37.60, 302.62°)
OKLaboklab(25.79% 0.0221 -0.0908)
OKLCHoklch(25.79% 0.094 283.7)
XYZxyz(2.3180, 1.5523, 7.3837)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20194E #474E19
analogous
#192C4E #20194E #3B194E
triadic
#20194E #4E2019 #194E20
tetradic
#20194E #4E192C #474E19 #194E3B
square
#20194E #4E192C #474E19 #194E3B
split-complementary
#20194E #4E3B19 #2C4E19
monochromatic
#0A0717 #0D0A20 #20194E #33287C #4637AB

Accessibility & contrast

On white

16.03
#20194E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#20194E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20194E
16.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20194E#FFFFFF#000000##FFFFFF
##20194E1.0016.031.3116.03
#FFFFFF16.031.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002350
Deuteranopia (green-blind)
#00204D
Tritanopia (blue-blind)
#0C2630
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #20194e;
/* rgb */ color: rgb(32, 25, 78);
/* oklch */ color: oklch(25.8% 0.094 283.7);
Tailwind
colors: {
  custom: {
    50: '#615680',
    500: '#20194e',
    950: '#000000',
  },
}
SCSS
$custom: #20194e;
$custom-light: #615680;
$custom-dark: #000000;
JSON
{
  "hex": "#20194e",
  "rgb": {
    "r": 32,
    "g": 25,
    "b": 78
  },
  "hsl": {
    "h": 247.925,
    "s": 51.456,
    "l": 20.196
  },
  "oklch": {
    "l": 0.25793,
    "c": 0.09351,
    "h": 283.7
  },
  "luminance": 0.01552
}

Semantic roles & 50–950 ramp

primary
#20194E
secondary
#7B843E
accent
#DB4DC8
background
#F5F5F7
surface
#EAE9EE
border
#C6C5C9
text
#05030A
muted
#79787C

Preview Lab

Preview with #20194E

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

Preview Lab → · Contrast checker → · Palette generator →

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