#19174E#19174E

#19174E is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.8% C 0.098 H 278.1°. Best body text is #FFFFFF at 16.48:1 contrast (WCAG AA passes).

Color values

HEX#19174E
RGBrgb(25, 23, 78)
HSLhsl(242, 54%, 20%)
HSVhsv(242, 71%, 31%)
CMYKcmyk(67.9%, 70.5%, 0%, 69.4%)
CIE-LABlab(11.75, 20.28, -33.62)
CIE-LCHlch(11.75, 39.27, 301.09°)
OKLaboklab(24.77% 0.0138 -0.0968)
OKLCHoklch(24.77% 0.098 278.1)
XYZxyz(2.0820, 1.3694, 7.3608)
Luminance0.0137 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19174E #4C4E17
analogous
#17314E #19174E #35174E
triadic
#19174E #4E1917 #174E19
tetradic
#19174E #4E1731 #4C4E17 #174E35
square
#19174E #4E1731 #4C4E17 #174E35
split-complementary
#19174E #4E3517 #314E17
monochromatic
#080718 #0A091F #19174E #28257D #3733AD

Accessibility & contrast

On white

16.48
#19174E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #19174E
16.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19174E#FFFFFF#000000##FFFFFF
##19174E1.0016.481.2716.48
#FFFFFF16.481.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #19174e;
/* rgb */ color: rgb(25, 23, 78);
/* oklch */ color: oklch(24.8% 0.098 278.1);
Tailwind
colors: {
  custom: {
    50: '#5d5480',
    500: '#19174e',
    950: '#000000',
  },
}
SCSS
$custom: #19174e;
$custom-light: #5d5480;
$custom-dark: #000000;
JSON
{
  "hex": "#19174e",
  "rgb": {
    "r": 25,
    "g": 23,
    "b": 78
  },
  "hsl": {
    "h": 242.182,
    "s": 54.455,
    "l": 19.804
  },
  "oklch": {
    "l": 0.24765,
    "c": 0.09783,
    "h": 278.1
  },
  "luminance": 0.0137
}

Semantic roles & 50–950 ramp

primary
#19174E
secondary
#82853C
accent
#DE4AD8
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#05020A
muted
#79787C

Preview Lab

Preview with #19174E

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

Preview Lab → · Contrast checker → · Palette generator →

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