#19317F#19317F

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

Color values

HEX#19317F
RGBrgb(25, 49, 127)
HSLhsl(226, 67%, 30%)
HSVhsv(226, 80%, 50%)
CMYKcmyk(80.3%, 61.4%, 0%, 50.2%)
CIE-LABlab(23.46, 21.30, -46.70)
CIE-LCHlch(23.46, 51.33, 294.52°)
OKLaboklab(34.81% -0.0089 -0.1349)
OKLCHoklch(34.81% 0.135 266.2)
XYZxyz(5.3286, 3.9350, 20.5533)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19317F #7F6719
analogous
#19647F #19317F #34197F
triadic
#19317F #7F1931 #317F19
tetradic
#19317F #7F1964 #7F6719 #197F34
square
#19317F #7F1964 #7F6719 #197F34
split-complementary
#19317F #7F3419 #647F19
monochromatic
#050A1A #0F1D4C #19317F #2345B2 #3A5FD8

Accessibility & contrast

On white

11.75
#19317F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#19317F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #19317F
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19317F#FFFFFF#000000##FFFFFF
##19317F1.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #19317f;
/* rgb */ color: rgb(25, 49, 127);
/* oklch */ color: oklch(34.8% 0.135 266.2);
Tailwind
colors: {
  custom: {
    50: '#6868a5',
    500: '#19317f',
    950: '#000000',
  },
}
SCSS
$custom: #19317f;
$custom-light: #6868a5;
$custom-dark: #000000;
JSON
{
  "hex": "#19317f",
  "rgb": {
    "r": 25,
    "g": 49,
    "b": 127
  },
  "hsl": {
    "h": 225.882,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.34812,
    "c": 0.13523,
    "h": 266.2
  },
  "luminance": 0.03936
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #19317F

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

Preview Lab → · Contrast checker → · Palette generator →

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