#19174F#19174F

#19174F is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.9% C 0.099 H 277.9°. Best body text is #FFFFFF at 16.45:1 contrast (WCAG AA passes).

Color values

HEX#19174F
RGBrgb(25, 23, 79)
HSLhsl(242, 55%, 20%)
HSVhsv(242, 71%, 31%)
CMYKcmyk(68.4%, 70.9%, 0%, 69%)
CIE-LABlab(11.85, 20.66, -34.15)
CIE-LCHlch(11.85, 39.92, 301.17°)
OKLaboklab(24.87% 0.0137 -0.0984)
OKLCHoklch(24.87% 0.099 277.9)
XYZxyz(2.1181, 1.3838, 7.5511)
Luminance0.0138 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19174F #4D4F17
analogous
#17314F #19174F #35174F
triadic
#19174F #4F1917 #174F19
tetradic
#19174F #4F1731 #4D4F17 #174F35
square
#19174F #4F1731 #4D4F17 #174F35
split-complementary
#19174F #4F3517 #314F17
monochromatic
#080718 #0A0920 #19174F #28257E #3733AE

Accessibility & contrast

On white

16.45
#19174F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#19174F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #19174F
16.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19174F#FFFFFF#000000##FFFFFF
##19174F1.0016.451.2816.45
#FFFFFF16.451.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002251
Deuteranopia (green-blind)
#001D4E
Tritanopia (blue-blind)
#002530
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #19174f;
/* rgb */ color: rgb(25, 23, 79);
/* oklch */ color: oklch(24.9% 0.099 277.9);
Tailwind
colors: {
  custom: {
    50: '#5d5481',
    500: '#19174f',
    950: '#000000',
  },
}
SCSS
$custom: #19174f;
$custom-light: #5d5481;
$custom-dark: #000000;
JSON
{
  "hex": "#19174f",
  "rgb": {
    "r": 25,
    "g": 23,
    "b": 79
  },
  "hsl": {
    "h": 242.143,
    "s": 54.902,
    "l": 20
  },
  "oklch": {
    "l": 0.24866,
    "c": 0.09935,
    "h": 277.9
  },
  "luminance": 0.01384
}

Semantic roles & 50–950 ramp

primary
#19174F
secondary
#83863C
accent
#DE4AD9
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#05020A
muted
#79787C

Preview Lab

Preview with #19174F

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

Preview Lab → · Contrast checker → · Palette generator →

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