#19217E#19217E

#19217E is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.7% C 0.153 H 270.3°. Best body text is #FFFFFF at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#19217E
RGBrgb(25, 33, 126)
HSLhsl(235, 67%, 30%)
HSVhsv(235, 80%, 49%)
CMYKcmyk(80.2%, 73.8%, 0%, 50.6%)
CIE-LABlab(19.23, 31.81, -53.01)
CIE-LCHlch(19.23, 61.82, 300.97°)
OKLaboklab(31.68% 0.0007 -0.1535)
OKLCHoklch(31.68% 0.153 270.3)
XYZxyz(4.7094, 2.8002, 20.0269)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19217E #7E7619
analogous
#19537E #19217E #44197E
triadic
#19217E #7E1921 #217E19
tetradic
#19217E #7E1953 #7E7619 #197E44
square
#19217E #7E1953 #7E7619 #197E44
split-complementary
#19217E #7E4419 #537E19
monochromatic
#05071A #0F144B #19217E #232EB1 #3A46D8

Accessibility & contrast

On white

13.46
#19217E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#19217E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #19217E
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19217E#FFFFFF#000000##FFFFFF
##19217E1.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003481
Deuteranopia (green-blind)
#002A7C
Tritanopia (blue-blind)
#003B4D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #19217e;
/* rgb */ color: rgb(25, 33, 126);
/* oklch */ color: oklch(31.7% 0.153 270.3);
Tailwind
colors: {
  custom: {
    50: '#695da4',
    500: '#19217e',
    950: '#000000',
  },
}
SCSS
$custom: #19217e;
$custom-light: #695da4;
$custom-dark: #000000;
JSON
{
  "hex": "#19217e",
  "rgb": {
    "r": 25,
    "g": 33,
    "b": 126
  },
  "hsl": {
    "h": 235.248,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.31681,
    "c": 0.15349,
    "h": 270.3
  },
  "luminance": 0.02801
}

Semantic roles & 50–950 ramp

primary
#19217E
secondary
#B2A941
accent
#DC3EEA
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #19217E

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

Preview Lab → · Contrast checker → · Palette generator →

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