#19157F#19157F

#19157F is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.0% C 0.167 H 271.8°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#19157F
RGBrgb(25, 21, 127)
HSLhsl(242, 72%, 29%)
HSVhsv(242, 83%, 50%)
CMYKcmyk(80.3%, 83.5%, 0%, 50.2%)
CIE-LABlab(16.87, 39.19, -57.54)
CIE-LCHlch(16.87, 69.62, 304.26°)
OKLaboklab(30.05% 0.0052 -0.1665)
OKLCHoklch(30.05% 0.167 271.8)
XYZxyz(4.4985, 2.2748, 20.2766)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19157F #7B7F15
analogous
#15467F #19157F #4E157F
triadic
#19157F #7F1915 #157F19
tetradic
#19157F #7F1546 #7B7F15 #157F4E
square
#19157F #7F1546 #7B7F15 #157F4E
split-complementary
#19157F #7F4E15 #467F15
monochromatic
#05041A #0F0C4A #19157F #231EB4 #3831DD

Accessibility & contrast

On white

14.43
#19157F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#19157F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #19157F
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19157F#FFFFFF#000000##FFFFFF
##19157F1.0014.431.4614.43
#FFFFFF14.431.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F82
Deuteranopia (green-blind)
#00247D
Tritanopia (blue-blind)
#00374B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #19157f;
/* rgb */ color: rgb(25, 21, 127);
/* oklch */ color: oklch(30.0% 0.167 271.8);
Tailwind
colors: {
  custom: {
    50: '#6a55a5',
    500: '#19157f',
    950: '#000000',
  },
}
SCSS
$custom: #19157f;
$custom-light: #6a55a5;
$custom-dark: #000000;
JSON
{
  "hex": "#19157f",
  "rgb": {
    "r": 25,
    "g": 21,
    "b": 127
  },
  "hsl": {
    "h": 242.264,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.30049,
    "c": 0.16661,
    "h": 271.8
  },
  "luminance": 0.02275
}

Semantic roles & 50–950 ramp

primary
#19157F
secondary
#AFB43C
accent
#EE39E8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #19157F

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

Preview Lab → · Contrast checker → · Palette generator →

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