#19157C#19157C

#19157C is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.7% C 0.163 H 272.1°. Best body text is #FFFFFF at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#19157C
RGBrgb(25, 21, 124)
HSLhsl(242, 71%, 28%)
HSVhsv(242, 83%, 49%)
CMYKcmyk(79.8%, 83.1%, 0%, 51.4%)
CIE-LABlab(16.49, 38.19, -56.25)
CIE-LCHlch(16.49, 67.99, 304.17°)
OKLaboklab(29.68% 0.0059 -0.1628)
OKLCHoklch(29.68% 0.163 272.1)
XYZxyz(4.3059, 2.1978, 19.2622)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19157C #787C15
analogous
#15447C #19157C #4C157C
triadic
#19157C #7C1915 #157C19
tetradic
#19157C #7C1544 #787C15 #157C4C
square
#19157C #7C1544 #787C15 #157C4C
split-complementary
#19157C #7C4C15 #447C15
monochromatic
#05041A #0E0C48 #19157C #241EB0 #3630DC

Accessibility & contrast

On white

14.59
#19157C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#19157C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #19157C
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19157C#FFFFFF#000000##FFFFFF
##19157C1.0014.591.4414.59
#FFFFFF14.591.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E7F
Deuteranopia (green-blind)
#00247A
Tritanopia (blue-blind)
#003549
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #19157c;
/* rgb */ color: rgb(25, 21, 124);
/* oklch */ color: oklch(29.7% 0.163 272.1);
Tailwind
colors: {
  custom: {
    50: '#6a55a3',
    500: '#19157c',
    950: '#000000',
  },
}
SCSS
$custom: #19157c;
$custom-light: #6a55a3;
$custom-dark: #000000;
JSON
{
  "hex": "#19157c",
  "rgb": {
    "r": 25,
    "g": 21,
    "b": 124
  },
  "hsl": {
    "h": 242.33,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.29679,
    "c": 0.16291,
    "h": 272.1
  },
  "luminance": 0.02198
}

Semantic roles & 50–950 ramp

primary
#19157C
secondary
#ADB13C
accent
#EE3AE7
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #19157C

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

Preview Lab → · Contrast checker → · Palette generator →

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