#19158E#19158E

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

Color values

HEX#19158E
RGBrgb(25, 21, 142)
HSLhsl(242, 74%, 32%)
HSVhsv(242, 85%, 56%)
CMYKcmyk(82.4%, 85.2%, 0%, 44.3%)
CIE-LABlab(18.78, 44.06, -63.82)
CIE-LCHlch(18.78, 77.55, 304.62°)
OKLaboklab(31.92% 0.0015 -0.1847)
OKLCHoklch(31.92% 0.185 270.5)
XYZxyz(5.5499, 2.6954, 25.8137)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19158E #8A8E15
analogous
#154E8E #19158E #55158E
triadic
#19158E #8E1915 #158E19
tetradic
#19158E #8E154E #8A8E15 #158E55
square
#19158E #8E154E #8A8E15 #158E55
split-complementary
#19158E #8E5515 #4E8E15
monochromatic
#060523 #100D59 #19158E #221DC3 #413BE2

Accessibility & contrast

On white

13.64
#19158E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#19158E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #19158E
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19158E#FFFFFF#000000##FFFFFF
##19158E1.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)
#003491
Deuteranopia (green-blind)
#00278C
Tritanopia (blue-blind)
#003D53
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #19158e;
/* rgb */ color: rgb(25, 21, 142);
/* oklch */ color: oklch(31.9% 0.185 270.5);
Tailwind
colors: {
  custom: {
    50: '#6e57b0',
    500: '#19158e',
    950: '#000000',
  },
}
SCSS
$custom: #19158e;
$custom-light: #6e57b0;
$custom-dark: #000000;
JSON
{
  "hex": "#19158e",
  "rgb": {
    "r": 25,
    "g": 21,
    "b": 142
  },
  "hsl": {
    "h": 241.983,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.31922,
    "c": 0.18471,
    "h": 270.5
  },
  "luminance": 0.02696
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #19158E

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

Preview Lab → · Contrast checker → · Palette generator →

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