#19178A#19178A

#19178A is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.7% C 0.178 H 270.7°. Best body text is #FFFFFF at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#19178A
RGBrgb(25, 23, 138)
HSLhsl(241, 71%, 32%)
HSVhsv(241, 83%, 54%)
CMYKcmyk(81.9%, 83.3%, 0%, 45.9%)
CIE-LABlab(18.60, 41.80, -61.61)
CIE-LCHlch(18.60, 74.45, 304.15°)
OKLaboklab(31.65% 0.002 -0.1784)
OKLCHoklch(31.65% 0.178 270.7)
XYZxyz(5.2932, 2.6538, 24.2731)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19178A #888A17
analogous
#174F8A #19178A #53178A
triadic
#19178A #8A1917 #178A19
tetradic
#19178A #8A174F #888A17 #178A53
square
#19178A #8A174F #888A17 #178A53
split-complementary
#19178A #8A5317 #4F8A17
monochromatic
#060621 #0F0E56 #19178A #2320BE #403DDF

Accessibility & contrast

On white

13.72
#19178A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#19178A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #19178A
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19178A#FFFFFF#000000##FFFFFF
##19178A1.0013.721.5313.72
#FFFFFF13.721.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00338D
Deuteranopia (green-blind)
#002788
Tritanopia (blue-blind)
#003C51
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #19178a;
/* rgb */ color: rgb(25, 23, 138);
/* oklch */ color: oklch(31.7% 0.178 270.7);
Tailwind
colors: {
  custom: {
    50: '#6d57ad',
    500: '#19178a',
    950: '#000000',
  },
}
SCSS
$custom: #19178a;
$custom-light: #6d57ad;
$custom-dark: #000000;
JSON
{
  "hex": "#19178a",
  "rgb": {
    "r": 25,
    "g": 23,
    "b": 138
  },
  "hsl": {
    "h": 241.043,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.31651,
    "c": 0.17837,
    "h": 270.7
  },
  "luminance": 0.02654
}

Semantic roles & 50–950 ramp

primary
#19178A
secondary
#BBBE3F
accent
#EE3AEB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #19178A

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

Preview Lab → · Contrast checker → · Palette generator →

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