#19158D#19158D

#19158D is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.8% C 0.184 H 270.6°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#19158D
RGBrgb(25, 21, 141)
HSLhsl(242, 74%, 32%)
HSVhsv(242, 85%, 55%)
CMYKcmyk(82.3%, 85.1%, 0%, 44.7%)
CIE-LABlab(18.65, 43.75, -63.41)
CIE-LCHlch(18.65, 77.03, 304.60°)
OKLaboklab(31.8% 0.0018 -0.1835)
OKLCHoklch(31.8% 0.184 270.6)
XYZxyz(5.4752, 2.6655, 25.4201)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19158D #898D15
analogous
#154D8D #19158D #55158D
triadic
#19158D #8D1915 #158D19
tetradic
#19158D #8D154D #898D15 #158D55
square
#19158D #8D154D #898D15 #158D55
split-complementary
#19158D #8D5515 #4D8D15
monochromatic
#060522 #100D58 #19158D #221DC2 #403BE2

Accessibility & contrast

On white

13.70
#19158D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#19158D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #19158D
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19158D#FFFFFF#000000##FFFFFF
##19158D1.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003390
Deuteranopia (green-blind)
#00278B
Tritanopia (blue-blind)
#003C53
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #19158d;
/* rgb */ color: rgb(25, 21, 141);
/* oklch */ color: oklch(31.8% 0.184 270.6);
Tailwind
colors: {
  custom: {
    50: '#6e57b0',
    500: '#19158d',
    950: '#000000',
  },
}
SCSS
$custom: #19158d;
$custom-light: #6e57b0;
$custom-dark: #000000;
JSON
{
  "hex": "#19158d",
  "rgb": {
    "r": 25,
    "g": 21,
    "b": 141
  },
  "hsl": {
    "h": 242,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.31796,
    "c": 0.18352,
    "h": 270.6
  },
  "luminance": 0.02666
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #19158D

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

Preview Lab → · Contrast checker → · Palette generator →

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