#19158F#19158F

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

Color values

HEX#19158F
RGBrgb(25, 21, 143)
HSLhsl(242, 74%, 32%)
HSVhsv(242, 85%, 56%)
CMYKcmyk(82.5%, 85.3%, 0%, 43.9%)
CIE-LABlab(18.91, 44.38, -64.23)
CIE-LCHlch(18.91, 78.07, 304.65°)
OKLaboklab(32.05% 0.0013 -0.1859)
OKLCHoklch(32.05% 0.186 270.4)
XYZxyz(5.6253, 2.7255, 26.2109)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19158F #8B8F15
analogous
#154E8F #19158F #56158F
triadic
#19158F #8F1915 #158F19
tetradic
#19158F #8F154E #8B8F15 #158F56
square
#19158F #8F154E #8B8F15 #158F56
split-complementary
#19158F #8F5615 #4E8F15
monochromatic
#060524 #100D5A #19158F #221DC4 #413CE2

Accessibility & contrast

On white

13.59
#19158F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#19158F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #19158F
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19158F#FFFFFF#000000##FFFFFF
##19158F1.0013.591.5513.59
#FFFFFF13.591.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003492
Deuteranopia (green-blind)
#00288D
Tritanopia (blue-blind)
#003D54
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #19158f;
/* rgb */ color: rgb(25, 21, 143);
/* oklch */ color: oklch(32.0% 0.186 270.4);
Tailwind
colors: {
  custom: {
    50: '#6f57b1',
    500: '#19158f',
    950: '#000000',
  },
}
SCSS
$custom: #19158f;
$custom-light: #6f57b1;
$custom-dark: #000000;
JSON
{
  "hex": "#19158f",
  "rgb": {
    "r": 25,
    "g": 21,
    "b": 143
  },
  "hsl": {
    "h": 241.967,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.32048,
    "c": 0.18588,
    "h": 270.4
  },
  "luminance": 0.02726
}

Semantic roles & 50–950 ramp

primary
#19158F
secondary
#BEC23E
accent
#F137EB
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #19158F

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

Preview Lab → · Contrast checker → · Palette generator →

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