#19187C#19187C

#19187C is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.1% C 0.160 H 271.7°. Best body text is #FFFFFF at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#19187C
RGBrgb(25, 24, 124)
HSLhsl(241, 68%, 29%)
HSVhsv(241, 81%, 49%)
CMYKcmyk(79.8%, 80.6%, 0%, 51.4%)
CIE-LABlab(17.06, 36.55, -55.31)
CIE-LCHlch(17.06, 66.30, 303.46°)
OKLaboklab(30.08% 0.0049 -0.1601)
OKLCHoklch(30.08% 0.16 271.7)
XYZxyz(4.3644, 2.3147, 19.2816)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19187C #7B7C18
analogous
#18497C #19187C #4B187C
triadic
#19187C #7C1918 #187C19
tetradic
#19187C #7C1849 #7B7C18 #187C4B
square
#19187C #7C1849 #7B7C18 #187C4B
split-complementary
#19187C #7C4B18 #497C18
monochromatic
#05051A #0F0E49 #19187C #2322AF #3836D8

Accessibility & contrast

On white

14.35
#19187C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#19187C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #19187C
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19187C#FFFFFF#000000##FFFFFF
##19187C1.0014.351.4614.35
#FFFFFF14.351.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F7F
Deuteranopia (green-blind)
#00257A
Tritanopia (blue-blind)
#00364A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #19187c;
/* rgb */ color: rgb(25, 24, 124);
/* oklch */ color: oklch(30.1% 0.160 271.7);
Tailwind
colors: {
  custom: {
    50: '#6957a3',
    500: '#19187c',
    950: '#000000',
  },
}
SCSS
$custom: #19187c;
$custom-light: #6957a3;
$custom-dark: #000000;
JSON
{
  "hex": "#19187c",
  "rgb": {
    "r": 25,
    "g": 24,
    "b": 124
  },
  "hsl": {
    "h": 240.6,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.30075,
    "c": 0.16019,
    "h": 271.7
  },
  "luminance": 0.02315
}

Semantic roles & 50–950 ramp

primary
#19187C
secondary
#AFB13F
accent
#EA3DE9
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #19187C

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

Preview Lab → · Contrast checker → · Palette generator →

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