#19178E#19178E

#19178E is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.1% C 0.183 H 270.4°. Best body text is #FFFFFF at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#19178E
RGBrgb(25, 23, 142)
HSLhsl(241, 72%, 32%)
HSVhsv(241, 84%, 56%)
CMYKcmyk(82.4%, 83.8%, 0%, 44.3%)
CIE-LABlab(19.11, 43.10, -63.28)
CIE-LCHlch(19.11, 76.56, 304.26°)
OKLaboklab(32.15% 0.0011 -0.1832)
OKLCHoklch(32.15% 0.183 270.4)
XYZxyz(5.5881, 2.7718, 25.8264)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19178E #8C8E17
analogous
#17518E #19178E #54178E
triadic
#19178E #8E1917 #178E19
tetradic
#19178E #8E1751 #8C8E17 #178E54
square
#19178E #8E1751 #8C8E17 #178E54
split-complementary
#19178E #8E5417 #518E17
monochromatic
#060625 #100E59 #19178E #2220C3 #423FE0

Accessibility & contrast

On white

13.51
#19178E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#19178E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #19178E
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19178E#FFFFFF#000000##FFFFFF
##19178E1.0013.511.5513.51
#FFFFFF13.511.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003491
Deuteranopia (green-blind)
#00288C
Tritanopia (blue-blind)
#003D54
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #19178e;
/* rgb */ color: rgb(25, 23, 142);
/* oklch */ color: oklch(32.1% 0.183 270.4);
Tailwind
colors: {
  custom: {
    50: '#6e58b0',
    500: '#19178e',
    950: '#000000',
  },
}
SCSS
$custom: #19178e;
$custom-light: #6e58b0;
$custom-dark: #000000;
JSON
{
  "hex": "#19178e",
  "rgb": {
    "r": 25,
    "g": 23,
    "b": 142
  },
  "hsl": {
    "h": 241.008,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.32147,
    "c": 0.18317,
    "h": 270.4
  },
  "luminance": 0.02772
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #19178E

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

Preview Lab → · Contrast checker → · Palette generator →

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