#19157A#19157A

#19157A is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.4% C 0.160 H 272.3°. Best body text is #FFFFFF at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#19157A
RGBrgb(25, 21, 122)
HSLhsl(242, 71%, 28%)
HSVhsv(242, 83%, 48%)
CMYKcmyk(79.5%, 82.8%, 0%, 52.2%)
CIE-LABlab(16.24, 37.52, -55.38)
CIE-LCHlch(16.24, 66.89, 304.11°)
OKLaboklab(29.43% 0.0064 -0.1603)
OKLCHoklch(29.43% 0.16 272.3)
XYZxyz(4.1807, 2.1477, 18.6028)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19157A #767A15
analogous
#15437A #19157A #4B157A
triadic
#19157A #7A1915 #157A19
tetradic
#19157A #7A1543 #767A15 #157A4B
square
#19157A #7A1543 #767A15 #157A4B
split-complementary
#19157A #7A4B15 #437A15
monochromatic
#05041A #0E0C46 #19157A #241EAE #352EDB

Accessibility & contrast

On white

14.69
#19157A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#19157A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #19157A
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19157A#FFFFFF#000000##FFFFFF
##19157A1.0014.691.4314.69
#FFFFFF14.691.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D7D
Deuteranopia (green-blind)
#002378
Tritanopia (blue-blind)
#003448
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #19157a;
/* rgb */ color: rgb(25, 21, 122);
/* oklch */ color: oklch(29.4% 0.160 272.3);
Tailwind
colors: {
  custom: {
    50: '#6955a2',
    500: '#19157a',
    950: '#000000',
  },
}
SCSS
$custom: #19157a;
$custom-light: #6955a2;
$custom-dark: #000000;
JSON
{
  "hex": "#19157a",
  "rgb": {
    "r": 25,
    "g": 21,
    "b": 122
  },
  "hsl": {
    "h": 242.376,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.29434,
    "c": 0.16041,
    "h": 272.3
  },
  "luminance": 0.02148
}

Semantic roles & 50–950 ramp

primary
#19157A
secondary
#ABAF3B
accent
#ED3AE6
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F

Preview Lab

Preview with #19157A

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

Preview Lab → · Contrast checker → · Palette generator →

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