#19197F#19197F

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

Color values

HEX#19197F
RGBrgb(25, 25, 127)
HSLhsl(240, 67%, 30%)
HSVhsv(240, 80%, 50%)
CMYKcmyk(80.3%, 80.3%, 0%, 50.2%)
CIE-LABlab(17.62, 37.02, -56.30)
CIE-LCHlch(17.62, 67.38, 303.33°)
OKLaboklab(30.57% 0.0039 -0.163)
OKLCHoklch(30.57% 0.163 271.4)
XYZxyz(4.5780, 2.4337, 20.3030)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19197F #7F7F19
analogous
#194C7F #19197F #4C197F
triadic
#19197F #7F1919 #197F19
tetradic
#19197F #7F194C #7F7F19 #197F4C
square
#19197F #7F194C #7F7F19 #197F4C
split-complementary
#19197F #7F4C19 #4C7F19
monochromatic
#05051A #0F0F4C #19197F #2323B2 #3A3AD8

Accessibility & contrast

On white

14.12
#19197F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#19197F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #19197F
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19197F#FFFFFF#000000##FFFFFF
##19197F1.0014.121.4914.12
#FFFFFF14.121.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #19197f;
/* rgb */ color: rgb(25, 25, 127);
/* oklch */ color: oklch(30.6% 0.163 271.4);
Tailwind
colors: {
  custom: {
    50: '#6a58a5',
    500: '#19197f',
    950: '#000000',
  },
}
SCSS
$custom: #19197f;
$custom-light: #6a58a5;
$custom-dark: #000000;
JSON
{
  "hex": "#19197f",
  "rgb": {
    "r": 25,
    "g": 25,
    "b": 127
  },
  "hsl": {
    "h": 240,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.30572,
    "c": 0.16305,
    "h": 271.4
  },
  "luminance": 0.02434
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #19197F

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

Preview Lab → · Contrast checker → · Palette generator →

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