#19197C#19197C

#19197C is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.2% C 0.159 H 271.6°. Best body text is #FFFFFF at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#19197C
RGBrgb(25, 25, 124)
HSLhsl(240, 66%, 29%)
HSVhsv(240, 80%, 49%)
CMYKcmyk(79.8%, 79.8%, 0%, 51.4%)
CIE-LABlab(17.26, 35.98, -54.98)
CIE-LCHlch(17.26, 65.71, 303.20°)
OKLaboklab(30.21% 0.0045 -0.1592)
OKLCHoklch(30.21% 0.159 271.6)
XYZxyz(4.3854, 2.3567, 19.2886)
Luminance0.0236 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19197C #7C7C19
analogous
#194B7C #19197C #4B197C
triadic
#19197C #7C1919 #197C19
tetradic
#19197C #7C194B #7C7C19 #197C4B
square
#19197C #7C194B #7C7C19 #197C4B
split-complementary
#19197C #7C4B19 #4B7C19
monochromatic
#050519 #0F0F49 #19197C #2323AF #3838D7

Accessibility & contrast

On white

14.27
#19197C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #19197C
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19197C#FFFFFF#000000##FFFFFF
##19197C1.0014.271.4714.27
#FFFFFF14.271.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F7F
Deuteranopia (green-blind)
#00257A
Tritanopia (blue-blind)
#00374A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #19197c;
/* rgb */ color: rgb(25, 25, 124);
/* oklch */ color: oklch(30.2% 0.159 271.6);
Tailwind
colors: {
  custom: {
    50: '#6957a3',
    500: '#19197c',
    950: '#000000',
  },
}
SCSS
$custom: #19197c;
$custom-light: #6957a3;
$custom-dark: #000000;
JSON
{
  "hex": "#19197c",
  "rgb": {
    "r": 25,
    "g": 25,
    "b": 124
  },
  "hsl": {
    "h": 240,
    "s": 66.443,
    "l": 29.216
  },
  "oklch": {
    "l": 0.30215,
    "c": 0.15924,
    "h": 271.6
  },
  "luminance": 0.02357
}

Semantic roles & 50–950 ramp

primary
#19197C
secondary
#B0B040
accent
#E93EE9
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F

Preview Lab

Preview with #19197C

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

Preview Lab → · Contrast checker → · Palette generator →

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