#19217F#19217F

#19217F is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.8% C 0.155 H 270.2°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#19217F
RGBrgb(25, 33, 127)
HSLhsl(235, 67%, 30%)
HSVhsv(235, 80%, 50%)
CMYKcmyk(80.3%, 74%, 0%, 50.2%)
CIE-LABlab(19.33, 32.18, -53.46)
CIE-LCHlch(19.33, 62.40, 301.05°)
OKLaboklab(31.79% 0.0006 -0.1548)
OKLCHoklch(31.79% 0.155 270.2)
XYZxyz(4.7742, 2.8262, 20.3684)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19217F #7F7719
analogous
#19547F #19217F #44197F
triadic
#19217F #7F1921 #217F19
tetradic
#19217F #7F1954 #7F7719 #197F44
square
#19217F #7F1954 #7F7719 #197F44
split-complementary
#19217F #7F4419 #547F19
monochromatic
#05071A #0F144C #19217F #232EB2 #3A47D8

Accessibility & contrast

On white

13.42
#19217F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#19217F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #19217F
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19217F#FFFFFF#000000##FFFFFF
##19217F1.0013.421.5713.42
#FFFFFF13.421.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003482
Deuteranopia (green-blind)
#002A7D
Tritanopia (blue-blind)
#003C4D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #19217f;
/* rgb */ color: rgb(25, 33, 127);
/* oklch */ color: oklch(31.8% 0.155 270.2);
Tailwind
colors: {
  custom: {
    50: '#695da5',
    500: '#19217f',
    950: '#000000',
  },
}
SCSS
$custom: #19217f;
$custom-light: #695da5;
$custom-dark: #000000;
JSON
{
  "hex": "#19217f",
  "rgb": {
    "r": 25,
    "g": 33,
    "b": 127
  },
  "hsl": {
    "h": 235.294,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.31792,
    "c": 0.15482,
    "h": 270.2
  },
  "luminance": 0.02827
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #19217F

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

Preview Lab → · Contrast checker → · Palette generator →

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