#19197D#19197D

#19197D is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.3% C 0.161 H 271.5°. Best body text is #FFFFFF at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#19197D
RGBrgb(25, 25, 125)
HSLhsl(240, 67%, 29%)
HSVhsv(240, 80%, 49%)
CMYKcmyk(80%, 80%, 0%, 51%)
CIE-LABlab(17.38, 36.33, -55.43)
CIE-LCHlch(17.38, 66.27, 303.24°)
OKLaboklab(30.33% 0.0043 -0.1605)
OKLCHoklch(30.33% 0.161 271.5)
XYZxyz(4.4490, 2.3821, 19.6234)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19197D #7D7D19
analogous
#194B7D #19197D #4B197D
triadic
#19197D #7D1919 #197D19
tetradic
#19197D #7D194B #7D7D19 #197D4B
square
#19197D #7D194B #7D7D19 #197D4B
split-complementary
#19197D #7D4B19 #4B7D19
monochromatic
#05051A #0F0F4A #19197D #2323B0 #3939D7

Accessibility & contrast

On white

14.22
#19197D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#19197D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #19197D
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19197D#FFFFFF#000000##FFFFFF
##19197D1.0014.221.4814.22
#FFFFFF14.221.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003080
Deuteranopia (green-blind)
#00267B
Tritanopia (blue-blind)
#00374A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #19197d;
/* rgb */ color: rgb(25, 25, 125);
/* oklch */ color: oklch(30.3% 0.161 271.5);
Tailwind
colors: {
  custom: {
    50: '#6958a4',
    500: '#19197d',
    950: '#000000',
  },
}
SCSS
$custom: #19197d;
$custom-light: #6958a4;
$custom-dark: #000000;
JSON
{
  "hex": "#19197d",
  "rgb": {
    "r": 25,
    "g": 25,
    "b": 125
  },
  "hsl": {
    "h": 240,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.30333,
    "c": 0.16052,
    "h": 271.5
  },
  "luminance": 0.02383
}

Semantic roles & 50–950 ramp

primary
#19197D
secondary
#B1B140
accent
#EA3EEA
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #19197D

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

Preview Lab → · Contrast checker → · Palette generator →

#19197D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva