#19177D#19177D

#19177D is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.1% C 0.162 H 271.8°. Best body text is #FFFFFF at 14.38:1 contrast (WCAG AA passes).

Color values

HEX#19177D
RGBrgb(25, 23, 125)
HSLhsl(241, 69%, 29%)
HSVhsv(241, 82%, 49%)
CMYKcmyk(80%, 81.6%, 0%, 51%)
CIE-LABlab(16.99, 37.45, -56.07)
CIE-LCHlch(16.99, 67.43, 303.74°)
OKLaboklab(30.06% 0.005 -0.1623)
OKLCHoklch(30.06% 0.162 271.8)
XYZxyz(4.4077, 2.2997, 19.6096)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19177D #7B7D17
analogous
#17487D #19177D #4C177D
triadic
#19177D #7D1917 #177D19
tetradic
#19177D #7D1748 #7B7D17 #177D4C
square
#19177D #7D1748 #7B7D17 #177D4C
split-complementary
#19177D #7D4C17 #487D17
monochromatic
#05051A #0F0D49 #19177D #2321B1 #3835DA

Accessibility & contrast

On white

14.38
#19177D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#19177D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #19177D
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19177D#FFFFFF#000000##FFFFFF
##19177D1.0014.381.4614.38
#FFFFFF14.381.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F80
Deuteranopia (green-blind)
#00257B
Tritanopia (blue-blind)
#00364A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #19177d;
/* rgb */ color: rgb(25, 23, 125);
/* oklch */ color: oklch(30.1% 0.162 271.8);
Tailwind
colors: {
  custom: {
    50: '#6a56a4',
    500: '#19177d',
    950: '#000000',
  },
}
SCSS
$custom: #19177d;
$custom-light: #6a56a4;
$custom-dark: #000000;
JSON
{
  "hex": "#19177d",
  "rgb": {
    "r": 25,
    "g": 23,
    "b": 125
  },
  "hsl": {
    "h": 241.176,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.3006,
    "c": 0.16238,
    "h": 271.8
  },
  "luminance": 0.023
}

Semantic roles & 50–950 ramp

primary
#19177D
secondary
#AFB23E
accent
#EC3CE8
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #19177D

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

Preview Lab → · Contrast checker → · Palette generator →

#19177D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva