#19157B#19157B

#19157B is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.6% C 0.162 H 272.2°. Best body text is #FFFFFF at 14.64:1 contrast (WCAG AA passes).

Color values

HEX#19157B
RGBrgb(25, 21, 123)
HSLhsl(242, 71%, 28%)
HSVhsv(242, 83%, 48%)
CMYKcmyk(79.7%, 82.9%, 0%, 51.8%)
CIE-LABlab(16.37, 37.85, -55.82)
CIE-LCHlch(16.37, 67.44, 304.14°)
OKLaboklab(29.56% 0.0061 -0.1615)
OKLCHoklch(29.56% 0.162 272.2)
XYZxyz(4.2430, 2.1726, 18.9308)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19157B #777B15
analogous
#15447B #19157B #4C157B
triadic
#19157B #7B1915 #157B19
tetradic
#19157B #7B1544 #777B15 #157B4C
square
#19157B #7B1544 #777B15 #157B4C
split-complementary
#19157B #7B4C15 #447B15
monochromatic
#05041A #0E0C47 #19157B #241EAF #362FDB

Accessibility & contrast

On white

14.64
#19157B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #19157B
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19157B#FFFFFF#000000##FFFFFF
##19157B1.0014.641.4314.64
#FFFFFF14.641.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D7E
Deuteranopia (green-blind)
#002379
Tritanopia (blue-blind)
#003548
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #19157b;
/* rgb */ color: rgb(25, 21, 123);
/* oklch */ color: oklch(29.6% 0.162 272.2);
Tailwind
colors: {
  custom: {
    50: '#6955a2',
    500: '#19157b',
    950: '#000000',
  },
}
SCSS
$custom: #19157b;
$custom-light: #6955a2;
$custom-dark: #000000;
JSON
{
  "hex": "#19157b",
  "rgb": {
    "r": 25,
    "g": 21,
    "b": 123
  },
  "hsl": {
    "h": 242.353,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.29556,
    "c": 0.16166,
    "h": 272.2
  },
  "luminance": 0.02173
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #19157B

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

Preview Lab → · Contrast checker → · Palette generator →

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