#19187E#19187E

#19187E is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.3% C 0.163 H 271.6°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#19187E
RGBrgb(25, 24, 126)
HSLhsl(241, 68%, 29%)
HSVhsv(241, 81%, 49%)
CMYKcmyk(80.2%, 81%, 0%, 50.6%)
CIE-LABlab(17.30, 37.24, -56.19)
CIE-LCHlch(17.30, 67.41, 303.54°)
OKLaboklab(30.32% 0.0044 -0.1627)
OKLCHoklch(30.32% 0.163 271.6)
XYZxyz(4.4922, 2.3658, 19.9545)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19187E #7D7E18
analogous
#184A7E #19187E #4C187E
triadic
#19187E #7E1918 #187E19
tetradic
#19187E #7E184A #7D7E18 #187E4C
square
#19187E #7E184A #7D7E18 #187E4C
split-complementary
#19187E #7E4C18 #4A7E18
monochromatic
#05051A #0F0E4B #19187E #2322B1 #3937D9

Accessibility & contrast

On white

14.25
#19187E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #19187E
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19187E#FFFFFF#000000##FFFFFF
##19187E1.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003081
Deuteranopia (green-blind)
#00257C
Tritanopia (blue-blind)
#00374B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #19187e;
/* rgb */ color: rgb(25, 24, 126);
/* oklch */ color: oklch(30.3% 0.163 271.6);
Tailwind
colors: {
  custom: {
    50: '#6a57a5',
    500: '#19187e',
    950: '#000000',
  },
}
SCSS
$custom: #19187e;
$custom-light: #6a57a5;
$custom-dark: #000000;
JSON
{
  "hex": "#19187e",
  "rgb": {
    "r": 25,
    "g": 24,
    "b": 126
  },
  "hsl": {
    "h": 240.588,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.30315,
    "c": 0.16272,
    "h": 271.6
  },
  "luminance": 0.02366
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #19187E

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

Preview Lab → · Contrast checker → · Palette generator →

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