#19178C#19178C

#19178C is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.9% C 0.181 H 270.5°. Best body text is #FFFFFF at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#19178C
RGBrgb(25, 23, 140)
HSLhsl(241, 72%, 32%)
HSVhsv(241, 84%, 55%)
CMYKcmyk(82.1%, 83.6%, 0%, 45.1%)
CIE-LABlab(18.85, 42.45, -62.45)
CIE-LCHlch(18.85, 75.51, 304.21°)
OKLaboklab(31.9% 0.0016 -0.1808)
OKLCHoklch(31.9% 0.181 270.5)
XYZxyz(5.4393, 2.7123, 25.0427)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19178C #8A8C17
analogous
#174F8C #19178C #54178C
triadic
#19178C #8C1917 #178C19
tetradic
#19178C #8C174F #8A8C17 #178C54
square
#19178C #8C174F #8A8C17 #178C54
split-complementary
#19178C #8C5417 #4F8C17
monochromatic
#060623 #100E57 #19178C #2220C1 #413EDF

Accessibility & contrast

On white

13.61
#19178C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#19178C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #19178C
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19178C#FFFFFF#000000##FFFFFF
##19178C1.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00348F
Deuteranopia (green-blind)
#00288A
Tritanopia (blue-blind)
#003C53
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #19178c;
/* rgb */ color: rgb(25, 23, 140);
/* oklch */ color: oklch(31.9% 0.181 270.5);
Tailwind
colors: {
  custom: {
    50: '#6e58af',
    500: '#19178c',
    950: '#000000',
  },
}
SCSS
$custom: #19178c;
$custom-light: #6e58af;
$custom-dark: #000000;
JSON
{
  "hex": "#19178c",
  "rgb": {
    "r": 25,
    "g": 23,
    "b": 140
  },
  "hsl": {
    "h": 241.026,
    "s": 71.779,
    "l": 31.961
  },
  "oklch": {
    "l": 0.31899,
    "c": 0.18078,
    "h": 270.5
  },
  "luminance": 0.02713
}

Semantic roles & 50–950 ramp

primary
#19178C
secondary
#BDBF3F
accent
#EF39EB
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090311
muted
#7B7880

Preview Lab

Preview with #19178C

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

Preview Lab → · Contrast checker → · Palette generator →

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