#19178F#19178F

#19178F is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.3% C 0.184 H 270.3°. Best body text is #FFFFFF at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#19178F
RGBrgb(25, 23, 143)
HSLhsl(241, 72%, 33%)
HSVhsv(241, 84%, 56%)
CMYKcmyk(82.5%, 83.9%, 0%, 43.9%)
CIE-LABlab(19.23, 43.43, -63.69)
CIE-LCHlch(19.23, 77.08, 304.29°)
OKLaboklab(32.27% 0.0009 -0.1844)
OKLCHoklch(32.27% 0.184 270.3)
XYZxyz(5.6635, 2.8020, 26.2236)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19178F #8D8F17
analogous
#17518F #19178F #55178F
triadic
#19178F #8F1917 #178F19
tetradic
#19178F #8F1751 #8D8F17 #178F55
square
#19178F #8F1751 #8D8F17 #178F55
split-complementary
#19178F #8F5517 #518F17
monochromatic
#070626 #100F5A #19178F #221FC4 #4340E0

Accessibility & contrast

On white

13.46
#19178F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#19178F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #19178F
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19178F#FFFFFF#000000##FFFFFF
##19178F1.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003592
Deuteranopia (green-blind)
#00288D
Tritanopia (blue-blind)
#003E54
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #19178f;
/* rgb */ color: rgb(25, 23, 143);
/* oklch */ color: oklch(32.3% 0.184 270.3);
Tailwind
colors: {
  custom: {
    50: '#6f58b1',
    500: '#19178f',
    950: '#000000',
  },
}
SCSS
$custom: #19178f;
$custom-light: #6f58b1;
$custom-dark: #000000;
JSON
{
  "hex": "#19178f",
  "rgb": {
    "r": 25,
    "g": 23,
    "b": 143
  },
  "hsl": {
    "h": 241,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.32272,
    "c": 0.18436,
    "h": 270.3
  },
  "luminance": 0.02803
}

Semantic roles & 50–950 ramp

primary
#19178F
secondary
#BFC141
accent
#EF39EC
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #19178F

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

Preview Lab → · Contrast checker → · Palette generator →

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