#19174C#19174C

#19174C is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.6% C 0.095 H 278.5°. Best body text is #FFFFFF at 16.56:1 contrast (WCAG AA passes).

Color values

HEX#19174C
RGBrgb(25, 23, 76)
HSLhsl(242, 54%, 19%)
HSVhsv(242, 70%, 30%)
CMYKcmyk(67.1%, 69.7%, 0%, 70.2%)
CIE-LABlab(11.56, 19.51, -32.56)
CIE-LCHlch(11.56, 37.96, 300.93°)
OKLaboklab(24.57% 0.014 -0.0937)
OKLCHoklch(24.57% 0.095 278.5)
XYZxyz(2.0114, 1.3411, 6.9889)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19174C #4A4C17
analogous
#17304C #19174C #34174C
triadic
#19174C #4C1917 #174C19
tetradic
#19174C #4C1730 #4A4C17 #174C34
square
#19174C #4C1730 #4A4C17 #174C34
split-complementary
#19174C #4C3417 #304C17
monochromatic
#080717 #0A091D #19174C #28257B #3833AA

Accessibility & contrast

On white

16.56
#19174C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#19174C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #19174C
16.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19174C#FFFFFF#000000##FFFFFF
##19174C1.0016.561.2716.56
#FFFFFF16.561.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214E
Deuteranopia (green-blind)
#001C4B
Tritanopia (blue-blind)
#00242F
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #19174c;
/* rgb */ color: rgb(25, 23, 76);
/* oklch */ color: oklch(24.6% 0.095 278.5);
Tailwind
colors: {
  custom: {
    50: '#5d547f',
    500: '#19174c',
    950: '#000000',
  },
}
SCSS
$custom: #19174c;
$custom-light: #5d547f;
$custom-dark: #000000;
JSON
{
  "hex": "#19174c",
  "rgb": {
    "r": 25,
    "g": 23,
    "b": 76
  },
  "hsl": {
    "h": 242.264,
    "s": 53.535,
    "l": 19.412
  },
  "oklch": {
    "l": 0.24565,
    "c": 0.09476,
    "h": 278.5
  },
  "luminance": 0.01341
}

Semantic roles & 50–950 ramp

primary
#19174C
secondary
#80833C
accent
#DD4BD7
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #19174C

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

Preview Lab → · Contrast checker → · Palette generator →

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