#19197E#19197E

#19197E is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.5% C 0.162 H 271.4°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#19197E
RGBrgb(25, 25, 126)
HSLhsl(240, 67%, 30%)
HSVhsv(240, 80%, 49%)
CMYKcmyk(80.2%, 80.2%, 0%, 50.6%)
CIE-LABlab(17.50, 36.68, -55.86)
CIE-LCHlch(17.50, 66.83, 303.29°)
OKLaboklab(30.45% 0.0041 -0.1617)
OKLCHoklch(30.45% 0.162 271.4)
XYZxyz(4.5132, 2.4078, 19.9615)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19197E #7E7E19
analogous
#194C7E #19197E #4C197E
triadic
#19197E #7E1919 #197E19
tetradic
#19197E #7E194C #7E7E19 #197E4C
square
#19197E #7E194C #7E7E19 #197E4C
split-complementary
#19197E #7E4C19 #4C7E19
monochromatic
#05051A #0F0F4B #19197E #2323B1 #3A3AD8

Accessibility & contrast

On white

14.17
#19197E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #19197E
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19197E#FFFFFF#000000##FFFFFF
##19197E1.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003081
Deuteranopia (green-blind)
#00267C
Tritanopia (blue-blind)
#00384B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #19197e;
/* rgb */ color: rgb(25, 25, 126);
/* oklch */ color: oklch(30.5% 0.162 271.4);
Tailwind
colors: {
  custom: {
    50: '#6a58a5',
    500: '#19197e',
    950: '#000000',
  },
}
SCSS
$custom: #19197e;
$custom-light: #6a58a5;
$custom-dark: #000000;
JSON
{
  "hex": "#19197e",
  "rgb": {
    "r": 25,
    "g": 25,
    "b": 126
  },
  "hsl": {
    "h": 240,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.30452,
    "c": 0.16178,
    "h": 271.4
  },
  "luminance": 0.02408
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #19197E

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

Preview Lab → · Contrast checker → · Palette generator →

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