#19318E#19318E

#19318E is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.2% C 0.156 H 266.7°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#19318E
RGBrgb(25, 49, 142)
HSLhsl(228, 70%, 33%)
HSVhsv(228, 82%, 56%)
CMYKcmyk(82.4%, 65.5%, 0%, 44.3%)
CIE-LABlab(24.81, 27.28, -53.86)
CIE-LCHlch(24.81, 60.37, 296.87°)
OKLaboklab(36.24% -0.0089 -0.1559)
OKLCHoklch(36.24% 0.156 266.7)
XYZxyz(6.3800, 4.3555, 26.0904)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19318E #8E7619
analogous
#196C8E #19318E #3B198E
triadic
#19318E #8E1931 #318E19
tetradic
#19318E #8E196C #8E7619 #198E3B
square
#19318E #8E196C #8E7619 #198E3B
split-complementary
#19318E #8E3B19 #6C8E19
monochromatic
#070D26 #101F5A #19318E #2243C2 #4363DE

Accessibility & contrast

On white

11.22
#19318E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#19318E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #19318E
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19318E#FFFFFF#000000##FFFFFF
##19318E1.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004191
Deuteranopia (green-blind)
#00358C
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #19318e;
/* rgb */ color: rgb(25, 49, 142);
/* oklch */ color: oklch(36.2% 0.156 266.7);
Tailwind
colors: {
  custom: {
    50: '#6c69b0',
    500: '#19318e',
    950: '#000000',
  },
}
SCSS
$custom: #19318e;
$custom-light: #6c69b0;
$custom-dark: #000000;
JSON
{
  "hex": "#19318e",
  "rgb": {
    "r": 25,
    "g": 49,
    "b": 142
  },
  "hsl": {
    "h": 227.692,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.3624,
    "c": 0.15616,
    "h": 266.7
  },
  "luminance": 0.04356
}

Semantic roles & 50–950 ramp

primary
#19318E
secondary
#BFA644
accent
#C83BED
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080611
muted
#7B7A80

Preview Lab

Preview with #19318E

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

Preview Lab → · Contrast checker → · Palette generator →

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