#19217C#19217C

#19217C is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.5% C 0.151 H 270.4°. Best body text is #FFFFFF at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#19217C
RGBrgb(25, 33, 124)
HSLhsl(235, 66%, 29%)
HSVhsv(235, 80%, 49%)
CMYKcmyk(79.8%, 73.4%, 0%, 51.4%)
CIE-LABlab(19.01, 31.06, -52.09)
CIE-LCHlch(19.01, 60.65, 300.81°)
OKLaboklab(31.46% 0.001 -0.1508)
OKLCHoklch(31.46% 0.151 270.4)
XYZxyz(4.5816, 2.7491, 19.3540)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19217C #7C7419
analogous
#19537C #19217C #43197C
triadic
#19217C #7C1921 #217C19
tetradic
#19217C #7C1953 #7C7419 #197C43
square
#19217C #7C1953 #7C7419 #197C43
split-complementary
#19217C #7C4319 #537C19
monochromatic
#050719 #0F1349 #19217C #232FAF #3845D7

Accessibility & contrast

On white

13.55
#19217C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#19217C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #19217C
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19217C#FFFFFF#000000##FFFFFF
##19217C1.0013.551.5513.55
#FFFFFF13.551.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337F
Deuteranopia (green-blind)
#00297A
Tritanopia (blue-blind)
#003B4C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #19217c;
/* rgb */ color: rgb(25, 33, 124);
/* oklch */ color: oklch(31.5% 0.151 270.4);
Tailwind
colors: {
  custom: {
    50: '#685da3',
    500: '#19217c',
    950: '#000000',
  },
}
SCSS
$custom: #19217c;
$custom-light: #685da3;
$custom-dark: #000000;
JSON
{
  "hex": "#19217c",
  "rgb": {
    "r": 25,
    "g": 33,
    "b": 124
  },
  "hsl": {
    "h": 235.152,
    "s": 66.443,
    "l": 29.216
  },
  "oklch": {
    "l": 0.31462,
    "c": 0.15082,
    "h": 270.4
  },
  "luminance": 0.0275
}

Semantic roles & 50–950 ramp

primary
#19217C
secondary
#B0A740
accent
#DC3EE9
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #19217C

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

Preview Lab → · Contrast checker → · Palette generator →

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