#19197B#19197B

#19197B is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.1% C 0.158 H 271.7°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#19197B
RGBrgb(25, 25, 123)
HSLhsl(240, 66%, 29%)
HSVhsv(240, 80%, 48%)
CMYKcmyk(79.7%, 79.7%, 0%, 51.8%)
CIE-LABlab(17.14, 35.63, -54.54)
CIE-LCHlch(17.14, 65.15, 303.16°)
OKLaboklab(30.1% 0.0047 -0.1579)
OKLCHoklch(30.1% 0.158 271.7)
XYZxyz(4.3225, 2.3315, 18.9573)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19197B #7B7B19
analogous
#194A7B #19197B #4A197B
triadic
#19197B #7B1919 #197B19
tetradic
#19197B #7B194A #7B7B19 #197B4A
square
#19197B #7B194A #7B7B19 #197B4A
split-complementary
#19197B #7B4A19 #4A7B19
monochromatic
#050519 #0F0F48 #19197B #2323AE #3838D7

Accessibility & contrast

On white

14.32
#19197B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#19197B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #19197B
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19197B#FFFFFF#000000##FFFFFF
##19197B1.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F7E
Deuteranopia (green-blind)
#002579
Tritanopia (blue-blind)
#003649
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #19197b;
/* rgb */ color: rgb(25, 25, 123);
/* oklch */ color: oklch(30.1% 0.158 271.7);
Tailwind
colors: {
  custom: {
    50: '#6957a2',
    500: '#19197b',
    950: '#000000',
  },
}
SCSS
$custom: #19197b;
$custom-light: #6957a2;
$custom-dark: #000000;
JSON
{
  "hex": "#19197b",
  "rgb": {
    "r": 25,
    "g": 25,
    "b": 123
  },
  "hsl": {
    "h": 240,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.30096,
    "c": 0.15797,
    "h": 271.7
  },
  "luminance": 0.02332
}

Semantic roles & 50–950 ramp

primary
#19197B
secondary
#AFAF40
accent
#E93FE9
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F

Preview Lab

Preview with #19197B

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

Preview Lab → · Contrast checker → · Palette generator →

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