#19217A#19217A

#19217A is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.2% C 0.148 H 270.5°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#19217A
RGBrgb(25, 33, 122)
HSLhsl(235, 66%, 29%)
HSVhsv(235, 80%, 48%)
CMYKcmyk(79.5%, 73%, 0%, 52.2%)
CIE-LABlab(18.80, 30.31, -51.17)
CIE-LCHlch(18.80, 59.47, 300.64°)
OKLaboklab(31.24% 0.0012 -0.1481)
OKLCHoklch(31.24% 0.148 270.5)
XYZxyz(4.4564, 2.6990, 18.6947)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19217A #7A7219
analogous
#19527A #19217A #42197A
triadic
#19217A #7A1921 #217A19
tetradic
#19217A #7A1952 #7A7219 #197A42
square
#19217A #7A1952 #7A7219 #197A42
split-complementary
#19217A #7A4219 #527A19
monochromatic
#050719 #0F1347 #19217A #232FAD #3744D6

Accessibility & contrast

On white

13.64
#19217A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#19217A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #19217A
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19217A#FFFFFF#000000##FFFFFF
##19217A1.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327D
Deuteranopia (green-blind)
#002978
Tritanopia (blue-blind)
#003A4B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #19217a;
/* rgb */ color: rgb(25, 33, 122);
/* oklch */ color: oklch(31.2% 0.148 270.5);
Tailwind
colors: {
  custom: {
    50: '#685da1',
    500: '#19217a',
    950: '#000000',
  },
}
SCSS
$custom: #19217a;
$custom-light: #685da1;
$custom-dark: #000000;
JSON
{
  "hex": "#19217a",
  "rgb": {
    "r": 25,
    "g": 33,
    "b": 122
  },
  "hsl": {
    "h": 235.052,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.31244,
    "c": 0.14814,
    "h": 270.5
  },
  "luminance": 0.027
}

Semantic roles & 50–950 ramp

primary
#19217A
secondary
#AFA540
accent
#DB3FE9
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07040F
muted
#7A797F

Preview Lab

Preview with #19217A

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

Preview Lab → · Contrast checker → · Palette generator →

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