#19158C#19158C

#19158C is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.7% C 0.182 H 270.6°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#19158C
RGBrgb(25, 21, 140)
HSLhsl(242, 74%, 32%)
HSVhsv(242, 85%, 55%)
CMYKcmyk(82.1%, 85%, 0%, 45.1%)
CIE-LABlab(18.52, 43.43, -63.00)
CIE-LCHlch(18.52, 76.51, 304.58°)
OKLaboklab(31.67% 0.002 -0.1823)
OKLCHoklch(31.67% 0.182 270.6)
XYZxyz(5.4011, 2.6358, 25.0300)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19158C #888C15
analogous
#154D8C #19158C #55158C
triadic
#19158C #8C1915 #158C19
tetradic
#19158C #8C154D #888C15 #158C55
square
#19158C #8C154D #888C15 #158C55
split-complementary
#19158C #8C5515 #4D8C15
monochromatic
#060522 #0F0D57 #19158C #231DC1 #403AE1

Accessibility & contrast

On white

13.75
#19158C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #19158C
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19158C#FFFFFF#000000##FFFFFF
##19158C1.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00338F
Deuteranopia (green-blind)
#00278A
Tritanopia (blue-blind)
#003C52
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #19158c;
/* rgb */ color: rgb(25, 21, 140);
/* oklch */ color: oklch(31.7% 0.182 270.6);
Tailwind
colors: {
  custom: {
    50: '#6e56af',
    500: '#19158c',
    950: '#000000',
  },
}
SCSS
$custom: #19158c;
$custom-light: #6e56af;
$custom-dark: #000000;
JSON
{
  "hex": "#19158c",
  "rgb": {
    "r": 25,
    "g": 21,
    "b": 140
  },
  "hsl": {
    "h": 242.017,
    "s": 73.913,
    "l": 31.569
  },
  "oklch": {
    "l": 0.3167,
    "c": 0.18233,
    "h": 270.6
  },
  "luminance": 0.02636
}

Semantic roles & 50–950 ramp

primary
#19158C
secondary
#BBC03D
accent
#F137EA
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090311
muted
#7B7880

Preview Lab

Preview with #19158C

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

Preview Lab → · Contrast checker → · Palette generator →

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