#19177F#19177F

#19177F is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.3% C 0.165 H 271.6°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#19177F
RGBrgb(25, 23, 127)
HSLhsl(241, 69%, 29%)
HSVhsv(241, 82%, 50%)
CMYKcmyk(80.3%, 81.9%, 0%, 50.2%)
CIE-LABlab(17.23, 38.13, -56.94)
CIE-LCHlch(17.23, 68.53, 303.81°)
OKLaboklab(30.3% 0.0045 -0.1648)
OKLCHoklch(30.3% 0.165 271.6)
XYZxyz(4.5368, 2.3513, 20.2893)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19177F #7D7F17
analogous
#17497F #19177F #4D177F
triadic
#19177F #7F1917 #177F19
tetradic
#19177F #7F1749 #7D7F17 #177F4D
square
#19177F #7F1749 #7D7F17 #177F4D
split-complementary
#19177F #7F4D17 #497F17
monochromatic
#05051A #0F0E4B #19177F #2320B3 #3936DB

Accessibility & contrast

On white

14.28
#19177F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#19177F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #19177F
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19177F#FFFFFF#000000##FFFFFF
##19177F1.0014.281.4714.28
#FFFFFF14.281.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F82
Deuteranopia (green-blind)
#00257D
Tritanopia (blue-blind)
#00374B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #19177f;
/* rgb */ color: rgb(25, 23, 127);
/* oklch */ color: oklch(30.3% 0.165 271.6);
Tailwind
colors: {
  custom: {
    50: '#6a57a5',
    500: '#19177f',
    950: '#000000',
  },
}
SCSS
$custom: #19177f;
$custom-light: #6a57a5;
$custom-dark: #000000;
JSON
{
  "hex": "#19177f",
  "rgb": {
    "r": 25,
    "g": 23,
    "b": 127
  },
  "hsl": {
    "h": 241.154,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.30303,
    "c": 0.16488,
    "h": 271.6
  },
  "luminance": 0.02352
}

Semantic roles & 50–950 ramp

primary
#19177F
secondary
#B1B43E
accent
#EC3CE9
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #19177F

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

Preview Lab → · Contrast checker → · Palette generator →

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