#19157D#19157D

#19157D is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.8% C 0.164 H 272.0°. Best body text is #FFFFFF at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#19157D
RGBrgb(25, 21, 125)
HSLhsl(242, 71%, 29%)
HSVhsv(242, 83%, 49%)
CMYKcmyk(80%, 83.2%, 0%, 51%)
CIE-LABlab(16.62, 38.52, -56.68)
CIE-LCHlch(16.62, 68.53, 304.20°)
OKLaboklab(29.8% 0.0056 -0.164)
OKLCHoklch(29.8% 0.164 272)
XYZxyz(4.3695, 2.2232, 19.5969)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19157D #797D15
analogous
#15457D #19157D #4D157D
triadic
#19157D #7D1915 #157D19
tetradic
#19157D #7D1545 #797D15 #157D4D
square
#19157D #7D1545 #797D15 #157D4D
split-complementary
#19157D #7D4D15 #457D15
monochromatic
#05041A #0F0C49 #19157D #231EB1 #3730DC

Accessibility & contrast

On white

14.53
#19157D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #19157D
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19157D#FFFFFF#000000##FFFFFF
##19157D1.0014.531.4414.53
#FFFFFF14.531.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E80
Deuteranopia (green-blind)
#00247B
Tritanopia (blue-blind)
#00364A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #19157d;
/* rgb */ color: rgb(25, 21, 125);
/* oklch */ color: oklch(29.8% 0.164 272.0);
Tailwind
colors: {
  custom: {
    50: '#6a55a4',
    500: '#19157d',
    950: '#000000',
  },
}
SCSS
$custom: #19157d;
$custom-light: #6a55a4;
$custom-dark: #000000;
JSON
{
  "hex": "#19157d",
  "rgb": {
    "r": 25,
    "g": 21,
    "b": 125
  },
  "hsl": {
    "h": 242.308,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.29802,
    "c": 0.16415,
    "h": 272
  },
  "luminance": 0.02224
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #19157D

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

Preview Lab → · Contrast checker → · Palette generator →

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