#19187F#19187F

#19187F is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.4% C 0.164 H 271.5°. Best body text is #FFFFFF at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#19187F
RGBrgb(25, 24, 127)
HSLhsl(241, 68%, 30%)
HSVhsv(241, 81%, 50%)
CMYKcmyk(80.3%, 81.1%, 0%, 50.2%)
CIE-LABlab(17.42, 37.58, -56.62)
CIE-LCHlch(17.42, 67.96, 303.57°)
OKLaboklab(30.44% 0.0042 -0.1639)
OKLCHoklch(30.44% 0.164 271.5)
XYZxyz(4.5570, 2.3917, 20.2960)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19187F #7E7F18
analogous
#184A7F #19187F #4D187F
triadic
#19187F #7F1918 #187F19
tetradic
#19187F #7F184A #7E7F18 #187F4D
square
#19187F #7F184A #7E7F18 #187F4D
split-complementary
#19187F #7F4D18 #4A7F18
monochromatic
#05051A #0F0E4C #19187F #2322B2 #3A38D9

Accessibility & contrast

On white

14.20
#19187F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#19187F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #19187F
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19187F#FFFFFF#000000##FFFFFF
##19187F1.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003082
Deuteranopia (green-blind)
#00257D
Tritanopia (blue-blind)
#00384B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #19187f;
/* rgb */ color: rgb(25, 24, 127);
/* oklch */ color: oklch(30.4% 0.164 271.5);
Tailwind
colors: {
  custom: {
    50: '#6a57a5',
    500: '#19187f',
    950: '#000000',
  },
}
SCSS
$custom: #19187f;
$custom-light: #6a57a5;
$custom-dark: #000000;
JSON
{
  "hex": "#19187f",
  "rgb": {
    "r": 25,
    "g": 24,
    "b": 127
  },
  "hsl": {
    "h": 240.583,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.30435,
    "c": 0.16397,
    "h": 271.5
  },
  "luminance": 0.02392
}

Semantic roles & 50–950 ramp

primary
#19187F
secondary
#B2B33F
accent
#EB3DE9
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #19187F

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

Preview Lab → · Contrast checker → · Palette generator →

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