#19317D#19317D

#19317D is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.6% C 0.132 H 266.1°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#19317D
RGBrgb(25, 49, 125)
HSLhsl(226, 67%, 29%)
HSVhsv(226, 80%, 49%)
CMYKcmyk(80%, 60.8%, 0%, 51%)
CIE-LABlab(23.28, 20.49, -45.72)
CIE-LCHlch(23.28, 50.10, 294.14°)
OKLaboklab(34.63% -0.0089 -0.1321)
OKLCHoklch(34.63% 0.132 266.1)
XYZxyz(5.1996, 3.8834, 19.8736)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19317D #7D6519
analogous
#19637D #19317D #33197D
triadic
#19317D #7D1931 #317D19
tetradic
#19317D #7D1963 #7D6519 #197D33
square
#19317D #7D1963 #7D6519 #197D33
split-complementary
#19317D #7D3319 #637D19
monochromatic
#050A1A #0F1D4A #19317D #2345B0 #395FD7

Accessibility & contrast

On white

11.82
#19317D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#19317D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #19317D
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19317D#FFFFFF#000000##FFFFFF
##19317D1.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C80
Deuteranopia (green-blind)
#00337C
Tritanopia (blue-blind)
#004452
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #19317d;
/* rgb */ color: rgb(25, 49, 125);
/* oklch */ color: oklch(34.6% 0.132 266.1);
Tailwind
colors: {
  custom: {
    50: '#6768a3',
    500: '#19317d',
    950: '#000000',
  },
}
SCSS
$custom: #19317d;
$custom-light: #6768a3;
$custom-dark: #000000;
JSON
{
  "hex": "#19317d",
  "rgb": {
    "r": 25,
    "g": 49,
    "b": 125
  },
  "hsl": {
    "h": 225.6,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.34629,
    "c": 0.13236,
    "h": 266.1
  },
  "luminance": 0.03884
}

Semantic roles & 50–950 ramp

primary
#19317D
secondary
#B19640
accent
#C03EEA
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #19317D

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

Preview Lab → · Contrast checker → · Palette generator →

#19317D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva