#19287F#19287F

#19287F is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.0% C 0.147 H 268.8°. Best body text is #FFFFFF at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#19287F
RGBrgb(25, 40, 127)
HSLhsl(231, 67%, 30%)
HSVhsv(231, 80%, 50%)
CMYKcmyk(80.3%, 68.5%, 0%, 50.2%)
CIE-LABlab(21.04, 27.55, -50.65)
CIE-LCHlch(21.04, 57.66, 298.54°)
OKLaboklab(33.03% -0.0031 -0.1466)
OKLCHoklch(33.03% 0.147 268.8)
XYZxyz(4.9891, 3.2560, 20.4401)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19287F #7F7019
analogous
#195B7F #19287F #3D197F
triadic
#19287F #7F1928 #287F19
tetradic
#19287F #7F195B #7F7019 #197F3D
square
#19287F #7F195B #7F7019 #197F3D
split-complementary
#19287F #7F3D19 #5B7F19
monochromatic
#05081A #0F184C #19287F #2338B2 #3A51D8

Accessibility & contrast

On white

12.72
#19287F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#19287F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #19287F
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19287F#FFFFFF#000000##FFFFFF
##19287F1.0012.721.6512.72
#FFFFFF12.721.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003782
Deuteranopia (green-blind)
#002E7D
Tritanopia (blue-blind)
#003F50
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #19287f;
/* rgb */ color: rgb(25, 40, 127);
/* oklch */ color: oklch(33.0% 0.147 268.8);
Tailwind
colors: {
  custom: {
    50: '#6862a5',
    500: '#19287f',
    950: '#000000',
  },
}
SCSS
$custom: #19287f;
$custom-light: #6862a5;
$custom-dark: #000000;
JSON
{
  "hex": "#19287f",
  "rgb": {
    "r": 25,
    "g": 40,
    "b": 127
  },
  "hsl": {
    "h": 231.176,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.33029,
    "c": 0.14664,
    "h": 268.8
  },
  "luminance": 0.03257
}

Semantic roles & 50–950 ramp

primary
#19287F
secondary
#B3A241
accent
#D13EEA
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #19287F

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

Preview Lab → · Contrast checker → · Palette generator →

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