#19318D#19318D

#19318D is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.1% C 0.155 H 266.7°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#19318D
RGBrgb(25, 49, 141)
HSLhsl(228, 70%, 33%)
HSVhsv(228, 82%, 55%)
CMYKcmyk(82.3%, 65.2%, 0%, 44.7%)
CIE-LABlab(24.72, 26.89, -53.39)
CIE-LCHlch(24.72, 59.78, 296.73°)
OKLaboklab(36.14% -0.0089 -0.1545)
OKLCHoklch(36.14% 0.155 266.7)
XYZxyz(6.3053, 4.3256, 25.6968)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19318D #8D7519
analogous
#196B8D #19318D #3B198D
triadic
#19318D #8D1931 #318D19
tetradic
#19318D #8D196B #8D7519 #198D3B
square
#19318D #8D196B #8D7519 #198D3B
split-complementary
#19318D #8D3B19 #6B8D19
monochromatic
#070D25 #101F59 #19318D #2243C1 #4363DE

Accessibility & contrast

On white

11.26
#19318D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #19318D
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19318D#FFFFFF#000000##FFFFFF
##19318D1.0011.261.8711.26
#FFFFFF11.261.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004090
Deuteranopia (green-blind)
#00358B
Tritanopia (blue-blind)
#00495A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #19318d;
/* rgb */ color: rgb(25, 49, 141);
/* oklch */ color: oklch(36.1% 0.155 266.7);
Tailwind
colors: {
  custom: {
    50: '#6b68af',
    500: '#19318d',
    950: '#000000',
  },
}
SCSS
$custom: #19318d;
$custom-light: #6b68af;
$custom-dark: #000000;
JSON
{
  "hex": "#19318d",
  "rgb": {
    "r": 25,
    "g": 49,
    "b": 141
  },
  "hsl": {
    "h": 227.586,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.36142,
    "c": 0.1548,
    "h": 266.7
  },
  "luminance": 0.04326
}

Semantic roles & 50–950 ramp

primary
#19318D
secondary
#BFA543
accent
#C83BED
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #19318D

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

Preview Lab → · Contrast checker → · Palette generator →

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