#19317E#19317E

#19317E is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.7% C 0.134 H 266.2°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#19317E
RGBrgb(25, 49, 126)
HSLhsl(226, 67%, 30%)
HSVhsv(226, 80%, 49%)
CMYKcmyk(80.2%, 61.1%, 0%, 50.6%)
CIE-LABlab(23.37, 20.89, -46.21)
CIE-LCHlch(23.37, 50.72, 294.33°)
OKLaboklab(34.72% -0.0089 -0.1335)
OKLCHoklch(34.72% 0.134 266.2)
XYZxyz(5.2638, 3.9091, 20.2117)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19317E #7E6619
analogous
#19637E #19317E #34197E
triadic
#19317E #7E1931 #317E19
tetradic
#19317E #7E1963 #7E6619 #197E34
square
#19317E #7E1963 #7E6619 #197E34
split-complementary
#19317E #7E3419 #637E19
monochromatic
#050A1A #0F1D4B #19317E #2345B1 #3A5FD8

Accessibility & contrast

On white

11.78
#19317E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #19317E
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19317E#FFFFFF#000000##FFFFFF
##19317E1.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D81
Deuteranopia (green-blind)
#00337D
Tritanopia (blue-blind)
#004452
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #19317e;
/* rgb */ color: rgb(25, 49, 126);
/* oklch */ color: oklch(34.7% 0.134 266.2);
Tailwind
colors: {
  custom: {
    50: '#6768a4',
    500: '#19317e',
    950: '#000000',
  },
}
SCSS
$custom: #19317e;
$custom-light: #6768a4;
$custom-dark: #000000;
JSON
{
  "hex": "#19317e",
  "rgb": {
    "r": 25,
    "g": 49,
    "b": 126
  },
  "hsl": {
    "h": 225.743,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.3472,
    "c": 0.1338,
    "h": 266.2
  },
  "luminance": 0.0391
}

Semantic roles & 50–950 ramp

primary
#19317E
secondary
#B29741
accent
#C13EEA
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #19317E

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

Preview Lab → · Contrast checker → · Palette generator →

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