#19177B#19177B

#19177B is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.8% C 0.160 H 272.0°. Best body text is #FFFFFF at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#19177B
RGBrgb(25, 23, 123)
HSLhsl(241, 68%, 29%)
HSVhsv(241, 81%, 48%)
CMYKcmyk(79.7%, 81.3%, 0%, 51.8%)
CIE-LABlab(16.74, 36.76, -55.20)
CIE-LCHlch(16.74, 66.32, 303.67°)
OKLaboklab(29.82% 0.0055 -0.1598)
OKLCHoklch(29.82% 0.16 272)
XYZxyz(4.2812, 2.2491, 18.9435)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19177B #797B17
analogous
#17477B #19177B #4B177B
triadic
#19177B #7B1917 #177B19
tetradic
#19177B #7B1747 #797B17 #177B4B
square
#19177B #7B1747 #797B17 #177B4B
split-complementary
#19177B #7B4B17 #477B17
monochromatic
#05051A #0F0D47 #19177B #2321AF #3733D9

Accessibility & contrast

On white

14.48
#19177B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#19177B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #19177B
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19177B#FFFFFF#000000##FFFFFF
##19177B1.0014.481.4514.48
#FFFFFF14.481.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E7E
Deuteranopia (green-blind)
#002479
Tritanopia (blue-blind)
#003649
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #19177b;
/* rgb */ color: rgb(25, 23, 123);
/* oklch */ color: oklch(29.8% 0.160 272.0);
Tailwind
colors: {
  custom: {
    50: '#6956a2',
    500: '#19177b',
    950: '#000000',
  },
}
SCSS
$custom: #19177b;
$custom-light: #6956a2;
$custom-dark: #000000;
JSON
{
  "hex": "#19177b",
  "rgb": {
    "r": 25,
    "g": 23,
    "b": 123
  },
  "hsl": {
    "h": 241.2,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.29818,
    "c": 0.15986,
    "h": 272
  },
  "luminance": 0.0225
}

Semantic roles & 50–950 ramp

primary
#19177B
secondary
#AEB03E
accent
#EB3CE8
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F

Preview Lab

Preview with #19177B

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

Preview Lab → · Contrast checker → · Palette generator →

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