#13408D#13408D

#13408D is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.1% C 0.137 H 260.6°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#13408D
RGBrgb(19, 64, 141)
HSLhsl(218, 76%, 31%)
HSVhsv(218, 87%, 55%)
CMYKcmyk(86.5%, 54.6%, 0%, 44.7%)
CIE-LABlab(28.71, 15.93, -46.88)
CIE-LCHlch(28.71, 49.51, 288.76°)
OKLaboklab(39.08% -0.0225 -0.1353)
OKLCHoklch(39.08% 0.137 260.6)
XYZxyz(6.9079, 5.7275, 25.9356)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13408D #8D6013
analogous
#137D8D #13408D #23138D
triadic
#13408D #8D1340 #408D13
tetradic
#13408D #8D137D #8D6013 #138D23
square
#13408D #8D137D #8D6013 #138D23
split-complementary
#13408D #8D2313 #7D8D13
monochromatic
#040F21 #0C2857 #13408D #1A58C3 #3676E4

Accessibility & contrast

On white

9.79
#13408D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#13408D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #13408D
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13408D#FFFFFF#000000##FFFFFF
##13408D1.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014990
Deuteranopia (green-blind)
#003E8B
Tritanopia (blue-blind)
#005360
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #13408d;
/* rgb */ color: rgb(19, 64, 141);
/* oklch */ color: oklch(39.1% 0.137 260.6);
Tailwind
colors: {
  custom: {
    50: '#6974af',
    500: '#13408d',
    950: '#000000',
  },
}
SCSS
$custom: #13408d;
$custom-light: #6974af;
$custom-dark: #000000;
JSON
{
  "hex": "#13408d",
  "rgb": {
    "r": 19,
    "g": 64,
    "b": 141
  },
  "hsl": {
    "h": 217.869,
    "s": 76.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.39083,
    "c": 0.13713,
    "h": 260.6
  },
  "luminance": 0.05728
}

Semantic roles & 50–950 ramp

primary
#13408D
secondary
#C1903B
accent
#AD35F3
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #13408D

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

Preview Lab → · Contrast checker → · Palette generator →

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