#19287B#19287B

#19287B is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.6% C 0.141 H 268.8°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#19287B
RGBrgb(25, 40, 123)
HSLhsl(231, 66%, 29%)
HSVhsv(231, 80%, 48%)
CMYKcmyk(79.7%, 67.5%, 0%, 51.8%)
CIE-LABlab(20.65, 25.99, -48.76)
CIE-LCHlch(20.65, 55.25, 298.06°)
OKLaboklab(32.62% -0.0029 -0.1411)
OKLCHoklch(32.62% 0.141 268.8)
XYZxyz(4.7336, 3.1538, 19.0943)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19287B #7B6C19
analogous
#19597B #19287B #3B197B
triadic
#19287B #7B1928 #287B19
tetradic
#19287B #7B1959 #7B6C19 #197B3B
square
#19287B #7B1959 #7B6C19 #197B3B
split-complementary
#19287B #7B3B19 #597B19
monochromatic
#050819 #0F1748 #19287B #2339AE #3850D7

Accessibility & contrast

On white

12.88
#19287B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#19287B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #19287B
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19287B#FFFFFF#000000##FFFFFF
##19287B1.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367E
Deuteranopia (green-blind)
#002D79
Tritanopia (blue-blind)
#003E4D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #19287b;
/* rgb */ color: rgb(25, 40, 123);
/* oklch */ color: oklch(32.6% 0.141 268.8);
Tailwind
colors: {
  custom: {
    50: '#6762a2',
    500: '#19287b',
    950: '#000000',
  },
}
SCSS
$custom: #19287b;
$custom-light: #6762a2;
$custom-dark: #000000;
JSON
{
  "hex": "#19287b",
  "rgb": {
    "r": 25,
    "g": 40,
    "b": 123
  },
  "hsl": {
    "h": 230.816,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32622,
    "c": 0.1411,
    "h": 268.8
  },
  "luminance": 0.03154
}

Semantic roles & 50–950 ramp

primary
#19287B
secondary
#AF9E40
accent
#CF3FE9
background
#F6F5FA
surface
#EBEAF4
border
#C6C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #19287B

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

Preview Lab → · Contrast checker → · Palette generator →

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