#19187D#19187D

#19187D is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.2% C 0.161 H 271.7°. Best body text is #FFFFFF at 14.30:1 contrast (WCAG AA passes).

Color values

HEX#19187D
RGBrgb(25, 24, 125)
HSLhsl(241, 68%, 29%)
HSVhsv(241, 81%, 49%)
CMYKcmyk(80%, 80.8%, 0%, 51%)
CIE-LABlab(17.18, 36.90, -55.75)
CIE-LCHlch(17.18, 66.86, 303.50°)
OKLaboklab(30.2% 0.0046 -0.1614)
OKLCHoklch(30.2% 0.161 271.7)
XYZxyz(4.4280, 2.3401, 19.6164)
Luminance0.0234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19187D #7C7D18
analogous
#184A7D #19187D #4C187D
triadic
#19187D #7D1918 #187D19
tetradic
#19187D #7D184A #7C7D18 #187D4C
square
#19187D #7D184A #7C7D18 #187D4C
split-complementary
#19187D #7D4C18 #4A7D18
monochromatic
#05051A #0F0E4A #19187D #2322B0 #3837D9

Accessibility & contrast

On white

14.30
#19187D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#19187D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #19187D
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19187D#FFFFFF#000000##FFFFFF
##19187D1.0014.301.4714.30
#FFFFFF14.301.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #19187d;
/* rgb */ color: rgb(25, 24, 125);
/* oklch */ color: oklch(30.2% 0.161 271.7);
Tailwind
colors: {
  custom: {
    50: '#6a57a4',
    500: '#19187d',
    950: '#000000',
  },
}
SCSS
$custom: #19187d;
$custom-light: #6a57a4;
$custom-dark: #000000;
JSON
{
  "hex": "#19187d",
  "rgb": {
    "r": 25,
    "g": 24,
    "b": 125
  },
  "hsl": {
    "h": 240.594,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.30195,
    "c": 0.16146,
    "h": 271.7
  },
  "luminance": 0.02341
}

Semantic roles & 50–950 ramp

primary
#19187D
secondary
#B0B23F
accent
#EB3DE9
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #19187D

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

Preview Lab → · Contrast checker → · Palette generator →

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