#19287E#19287E

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

Color values

HEX#19287E
RGBrgb(25, 40, 126)
HSLhsl(231, 67%, 30%)
HSVhsv(231, 80%, 49%)
CMYKcmyk(80.2%, 68.3%, 0%, 50.6%)
CIE-LABlab(20.94, 27.16, -50.18)
CIE-LCHlch(20.94, 57.06, 298.42°)
OKLaboklab(32.93% -0.0031 -0.1452)
OKLCHoklch(32.93% 0.145 268.8)
XYZxyz(4.9243, 3.2301, 20.0986)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19287E #7E6F19
analogous
#195B7E #19287E #3D197E
triadic
#19287E #7E1928 #287E19
tetradic
#19287E #7E195B #7E6F19 #197E3D
square
#19287E #7E195B #7E6F19 #197E3D
split-complementary
#19287E #7E3D19 #5B7E19
monochromatic
#05081A #0F184B #19287E #2338B1 #3A51D8

Accessibility & contrast

On white

12.76
#19287E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #19287E
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19287E#FFFFFF#000000##FFFFFF
##19287E1.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003781
Deuteranopia (green-blind)
#002E7C
Tritanopia (blue-blind)
#003F4F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #19287e;
/* rgb */ color: rgb(25, 40, 126);
/* oklch */ color: oklch(32.9% 0.145 268.8);
Tailwind
colors: {
  custom: {
    50: '#6862a4',
    500: '#19287e',
    950: '#000000',
  },
}
SCSS
$custom: #19287e;
$custom-light: #6862a4;
$custom-dark: #000000;
JSON
{
  "hex": "#19287e",
  "rgb": {
    "r": 25,
    "g": 40,
    "b": 126
  },
  "hsl": {
    "h": 231.089,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.32927,
    "c": 0.14526,
    "h": 268.8
  },
  "luminance": 0.03231
}

Semantic roles & 50–950 ramp

primary
#19287E
secondary
#B2A141
accent
#D03EEA
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #19287E

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

Preview Lab → · Contrast checker → · Palette generator →

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