#19317C#19317C

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

Color values

HEX#19317C
RGBrgb(25, 49, 124)
HSLhsl(225, 66%, 29%)
HSVhsv(225, 80%, 49%)
CMYKcmyk(79.8%, 60.5%, 0%, 51.4%)
CIE-LABlab(23.20, 20.08, -45.23)
CIE-LCHlch(23.20, 49.49, 293.94°)
OKLaboklab(34.54% -0.009 -0.1306)
OKLCHoklch(34.54% 0.131 266.1)
XYZxyz(5.1360, 3.8580, 19.5388)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19317C #7C6419
analogous
#19637C #19317C #33197C
triadic
#19317C #7C1931 #317C19
tetradic
#19317C #7C1963 #7C6419 #197C33
square
#19317C #7C1963 #7C6419 #197C33
split-complementary
#19317C #7C3319 #637C19
monochromatic
#050A19 #0F1D49 #19317C #2345AF #385FD7

Accessibility & contrast

On white

11.85
#19317C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#19317C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #19317C
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19317C#FFFFFF#000000##FFFFFF
##19317C1.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7F
Deuteranopia (green-blind)
#00337B
Tritanopia (blue-blind)
#004451
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #19317c;
/* rgb */ color: rgb(25, 49, 124);
/* oklch */ color: oklch(34.5% 0.131 266.1);
Tailwind
colors: {
  custom: {
    50: '#6768a3',
    500: '#19317c',
    950: '#000000',
  },
}
SCSS
$custom: #19317c;
$custom-light: #6768a3;
$custom-dark: #000000;
JSON
{
  "hex": "#19317c",
  "rgb": {
    "r": 25,
    "g": 49,
    "b": 124
  },
  "hsl": {
    "h": 225.455,
    "s": 66.443,
    "l": 29.216
  },
  "oklch": {
    "l": 0.34538,
    "c": 0.13092,
    "h": 266.1
  },
  "luminance": 0.03859
}

Semantic roles & 50–950 ramp

primary
#19317C
secondary
#B09540
accent
#C03EE9
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #19317C

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

Preview Lab → · Contrast checker → · Palette generator →

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