#20194F#20194F

#20194F is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.9% C 0.095 H 283.4°. Best body text is #FFFFFF at 15.99:1 contrast (WCAG AA passes).

Color values

HEX#20194F
RGBrgb(32, 25, 79)
HSLhsl(248, 52%, 20%)
HSVhsv(248, 68%, 31%)
CMYKcmyk(59.5%, 68.4%, 0%, 69%)
CIE-LABlab(13.03, 20.63, -32.21)
CIE-LCHlch(13.03, 38.25, 302.65°)
OKLaboklab(25.89% 0.0221 -0.0924)
OKLCHoklch(25.89% 0.095 283.4)
XYZxyz(2.3541, 1.5667, 7.5740)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20194F #484F19
analogous
#192D4F #20194F #3B194F
triadic
#20194F #4F2019 #194F20
tetradic
#20194F #4F192D #484F19 #194F3B
square
#20194F #4F192D #484F19 #194F3B
split-complementary
#20194F #4F3B19 #2D4F19
monochromatic
#090717 #0D0A21 #20194F #33287D #4636AC

Accessibility & contrast

On white

15.99
#20194F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20194F
15.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20194F#FFFFFF#000000##FFFFFF
##20194F1.0015.991.3115.99
#FFFFFF15.991.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002351
Deuteranopia (green-blind)
#00204E
Tritanopia (blue-blind)
#0B2631
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #20194f;
/* rgb */ color: rgb(32, 25, 79);
/* oklch */ color: oklch(25.9% 0.095 283.4);
Tailwind
colors: {
  custom: {
    50: '#615681',
    500: '#20194f',
    950: '#000000',
  },
}
SCSS
$custom: #20194f;
$custom-light: #615681;
$custom-dark: #000000;
JSON
{
  "hex": "#20194f",
  "rgb": {
    "r": 32,
    "g": 25,
    "b": 79
  },
  "hsl": {
    "h": 247.778,
    "s": 51.923,
    "l": 20.392
  },
  "oklch": {
    "l": 0.25886,
    "c": 0.09503,
    "h": 283.4
  },
  "luminance": 0.01567
}

Semantic roles & 50–950 ramp

primary
#20194F
secondary
#7C853E
accent
#DB4CC9
background
#F5F5F7
surface
#EAE9EE
border
#C6C5C9
text
#05030A
muted
#79787C

Preview Lab

Preview with #20194F

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

Preview Lab → · Contrast checker → · Palette generator →

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