#19187B#19187B

#19187B is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.0% C 0.159 H 271.8°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#19187B
RGBrgb(25, 24, 123)
HSLhsl(241, 67%, 29%)
HSVhsv(241, 80%, 48%)
CMYKcmyk(79.7%, 80.5%, 0%, 51.8%)
CIE-LABlab(16.94, 36.21, -54.87)
CIE-LCHlch(16.94, 65.74, 303.42°)
OKLaboklab(29.96% 0.0051 -0.1588)
OKLCHoklch(29.96% 0.159 271.8)
XYZxyz(4.3015, 2.2895, 18.9503)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19187B #7A7B18
analogous
#18497B #19187B #4B187B
triadic
#19187B #7B1918 #187B19
tetradic
#19187B #7B1849 #7A7B18 #187B4B
square
#19187B #7B1849 #7A7B18 #187B4B
split-complementary
#19187B #7B4B18 #497B18
monochromatic
#05051A #0F0E48 #19187B #2322AE #3736D8

Accessibility & contrast

On white

14.40
#19187B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#19187B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #19187B
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19187B#FFFFFF#000000##FFFFFF
##19187B1.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.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: #19187b;
/* rgb */ color: rgb(25, 24, 123);
/* oklch */ color: oklch(30.0% 0.159 271.8);
Tailwind
colors: {
  custom: {
    50: '#6957a2',
    500: '#19187b',
    950: '#000000',
  },
}
SCSS
$custom: #19187b;
$custom-light: #6957a2;
$custom-dark: #000000;
JSON
{
  "hex": "#19187b",
  "rgb": {
    "r": 25,
    "g": 24,
    "b": 123
  },
  "hsl": {
    "h": 240.606,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.29955,
    "c": 0.15893,
    "h": 271.8
  },
  "luminance": 0.0229
}

Semantic roles & 50–950 ramp

primary
#19187B
secondary
#AFB03F
accent
#EA3EE8
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F

Preview Lab

Preview with #19187B

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

Preview Lab → · Contrast checker → · Palette generator →

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