#19318A#19318A

#19318A is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.9% C 0.151 H 266.6°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#19318A
RGBrgb(25, 49, 138)
HSLhsl(227, 69%, 32%)
HSVhsv(227, 82%, 54%)
CMYKcmyk(81.9%, 64.5%, 0%, 45.9%)
CIE-LABlab(24.44, 25.70, -51.98)
CIE-LCHlch(24.44, 57.99, 296.31°)
OKLaboklab(35.85% -0.0088 -0.1504)
OKLCHoklch(35.85% 0.151 266.6)
XYZxyz(6.0851, 4.2376, 24.5371)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19318A #8A7219
analogous
#19698A #19318A #3A198A
triadic
#19318A #8A1931 #318A19
tetradic
#19318A #8A1969 #8A7219 #198A3A
square
#19318A #8A1969 #8A7219 #198A3A
split-complementary
#19318A #8A3A19 #698A19
monochromatic
#060C22 #101F56 #19318A #2243BE #4162DD

Accessibility & contrast

On white

11.37
#19318A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#19318A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #19318A
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19318A#FFFFFF#000000##FFFFFF
##19318A1.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8D
Deuteranopia (green-blind)
#003588
Tritanopia (blue-blind)
#004858
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #19318a;
/* rgb */ color: rgb(25, 49, 138);
/* oklch */ color: oklch(35.9% 0.151 266.6);
Tailwind
colors: {
  custom: {
    50: '#6b68ad',
    500: '#19318a',
    950: '#000000',
  },
}
SCSS
$custom: #19318a;
$custom-light: #6b68ad;
$custom-dark: #000000;
JSON
{
  "hex": "#19318a",
  "rgb": {
    "r": 25,
    "g": 49,
    "b": 138
  },
  "hsl": {
    "h": 227.257,
    "s": 69.325,
    "l": 31.961
  },
  "oklch": {
    "l": 0.35851,
    "c": 0.15067,
    "h": 266.6
  },
  "luminance": 0.04238
}

Semantic roles & 50–950 ramp

primary
#19318A
secondary
#BDA342
accent
#C73CEC
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #19318A

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

Preview Lab → · Contrast checker → · Palette generator →

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