#13408A#13408A

#13408A is a dark, vivid blue. Relative luminance 0.056; OKLCH L 38.8% C 0.133 H 260.1°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#13408A
RGBrgb(19, 64, 138)
HSLhsl(217, 76%, 31%)
HSVhsv(217, 86%, 54%)
CMYKcmyk(86.2%, 53.6%, 0%, 45.9%)
CIE-LABlab(28.48, 14.68, -45.40)
CIE-LCHlch(28.48, 47.72, 287.91°)
OKLaboklab(38.83% -0.0228 -0.1309)
OKLCHoklch(38.83% 0.133 260.1)
XYZxyz(6.6877, 5.6394, 24.7759)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13408A #8A5D13
analogous
#137B8A #13408A #21138A
triadic
#13408A #8A1340 #408A13
tetradic
#13408A #8A137B #8A5D13 #138A21
square
#13408A #8A137B #8A5D13 #138A21
split-complementary
#13408A #8A2113 #7B8A13
monochromatic
#040E1E #0C2754 #13408A #1A59C0 #3476E3

Accessibility & contrast

On white

9.87
#13408A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#13408A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #13408A
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13408A#FFFFFF#000000##FFFFFF
##13408A1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A498D
Deuteranopia (green-blind)
#003E89
Tritanopia (blue-blind)
#00525E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #13408a;
/* rgb */ color: rgb(19, 64, 138);
/* oklch */ color: oklch(38.8% 0.133 260.1);
Tailwind
colors: {
  custom: {
    50: '#6874ad',
    500: '#13408a',
    950: '#000000',
  },
}
SCSS
$custom: #13408a;
$custom-light: #6874ad;
$custom-dark: #000000;
JSON
{
  "hex": "#13408a",
  "rgb": {
    "r": 19,
    "g": 64,
    "b": 138
  },
  "hsl": {
    "h": 217.311,
    "s": 75.796,
    "l": 30.784
  },
  "oklch": {
    "l": 0.38834,
    "c": 0.13291,
    "h": 260.1
  },
  "luminance": 0.0564
}

Semantic roles & 50–950 ramp

primary
#13408A
secondary
#BE8C3A
accent
#AB35F2
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #13408A

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

Preview Lab → · Contrast checker → · Palette generator →

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