#19177E#19177E

#19177E is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.2% C 0.164 H 271.7°. Best body text is #FFFFFF at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#19177E
RGBrgb(25, 23, 126)
HSLhsl(241, 69%, 29%)
HSVhsv(241, 82%, 49%)
CMYKcmyk(80.2%, 81.7%, 0%, 50.6%)
CIE-LABlab(17.11, 37.79, -56.51)
CIE-LCHlch(17.11, 67.98, 303.78°)
OKLaboklab(30.18% 0.0048 -0.1636)
OKLCHoklch(30.18% 0.164 271.7)
XYZxyz(4.4719, 2.3253, 19.9478)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19177E #7C7E17
analogous
#17497E #19177E #4D177E
triadic
#19177E #7E1917 #177E19
tetradic
#19177E #7E1749 #7C7E17 #177E4D
square
#19177E #7E1749 #7C7E17 #177E4D
split-complementary
#19177E #7E4D17 #497E17
monochromatic
#05051A #0F0E4A #19177E #2320B2 #3835DA

Accessibility & contrast

On white

14.33
#19177E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #19177E
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19177E#FFFFFF#000000##FFFFFF
##19177E1.0014.331.4714.33
#FFFFFF14.331.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F81
Deuteranopia (green-blind)
#00257C
Tritanopia (blue-blind)
#00374A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #19177e;
/* rgb */ color: rgb(25, 23, 126);
/* oklch */ color: oklch(30.2% 0.164 271.7);
Tailwind
colors: {
  custom: {
    50: '#6a56a5',
    500: '#19177e',
    950: '#000000',
  },
}
SCSS
$custom: #19177e;
$custom-light: #6a56a5;
$custom-dark: #000000;
JSON
{
  "hex": "#19177e",
  "rgb": {
    "r": 25,
    "g": 23,
    "b": 126
  },
  "hsl": {
    "h": 241.165,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.30181,
    "c": 0.16363,
    "h": 271.7
  },
  "luminance": 0.02326
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #19177E

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

Preview Lab → · Contrast checker → · Palette generator →

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