#19217B#19217B

#19217B is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.4% C 0.149 H 270.4°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#19217B
RGBrgb(25, 33, 123)
HSLhsl(235, 66%, 29%)
HSVhsv(235, 80%, 48%)
CMYKcmyk(79.7%, 73.2%, 0%, 51.8%)
CIE-LABlab(18.90, 30.69, -51.63)
CIE-LCHlch(18.90, 60.06, 300.73°)
OKLaboklab(31.35% 0.0011 -0.1495)
OKLCHoklch(31.35% 0.149 270.4)
XYZxyz(4.5187, 2.7239, 19.0227)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19217B #7B7319
analogous
#19527B #19217B #42197B
triadic
#19217B #7B1921 #217B19
tetradic
#19217B #7B1952 #7B7319 #197B42
square
#19217B #7B1952 #7B7319 #197B42
split-complementary
#19217B #7B4219 #527B19
monochromatic
#050719 #0F1348 #19217B #232FAE #3845D7

Accessibility & contrast

On white

13.59
#19217B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #19217B
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19217B#FFFFFF#000000##FFFFFF
##19217B1.0013.591.5413.59
#FFFFFF13.591.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337E
Deuteranopia (green-blind)
#002979
Tritanopia (blue-blind)
#003A4B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #19217b;
/* rgb */ color: rgb(25, 33, 123);
/* oklch */ color: oklch(31.4% 0.149 270.4);
Tailwind
colors: {
  custom: {
    50: '#685da2',
    500: '#19217b',
    950: '#000000',
  },
}
SCSS
$custom: #19217b;
$custom-light: #685da2;
$custom-dark: #000000;
JSON
{
  "hex": "#19217b",
  "rgb": {
    "r": 25,
    "g": 33,
    "b": 123
  },
  "hsl": {
    "h": 235.102,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.31353,
    "c": 0.14948,
    "h": 270.4
  },
  "luminance": 0.02724
}

Semantic roles & 50–950 ramp

primary
#19217B
secondary
#AFA640
accent
#DB3FE9
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #19217B

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

Preview Lab → · Contrast checker → · Palette generator →

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