#13408C#13408C

#13408C is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.0% C 0.136 H 260.4°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#13408C
RGBrgb(19, 64, 140)
HSLhsl(218, 76%, 31%)
HSVhsv(218, 86%, 55%)
CMYKcmyk(86.4%, 54.3%, 0%, 45.1%)
CIE-LABlab(28.64, 15.51, -46.39)
CIE-LCHlch(28.64, 48.92, 288.49°)
OKLaboklab(39% -0.0226 -0.1338)
OKLCHoklch(39% 0.136 260.4)
XYZxyz(6.8339, 5.6978, 25.5455)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13408C #8C5F13
analogous
#137C8C #13408C #22138C
triadic
#13408C #8C1340 #408C13
tetradic
#13408C #8C137C #8C5F13 #138C22
square
#13408C #8C137C #8C5F13 #138C22
split-complementary
#13408C #8C2213 #7C8C13
monochromatic
#040F20 #0C2756 #13408C #1A59C2 #3676E4

Accessibility & contrast

On white

9.81
#13408C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#13408C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #13408C
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13408C#FFFFFF#000000##FFFFFF
##13408C1.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04498F
Deuteranopia (green-blind)
#003E8B
Tritanopia (blue-blind)
#00535F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #13408c;
/* rgb */ color: rgb(19, 64, 140);
/* oklch */ color: oklch(39.0% 0.136 260.4);
Tailwind
colors: {
  custom: {
    50: '#6874ae',
    500: '#13408c',
    950: '#000000',
  },
}
SCSS
$custom: #13408c;
$custom-light: #6874ae;
$custom-dark: #000000;
JSON
{
  "hex": "#13408c",
  "rgb": {
    "r": 19,
    "g": 64,
    "b": 140
  },
  "hsl": {
    "h": 217.686,
    "s": 76.101,
    "l": 31.176
  },
  "oklch": {
    "l": 0.38999,
    "c": 0.13573,
    "h": 260.4
  },
  "luminance": 0.05699
}

Semantic roles & 50–950 ramp

primary
#13408C
secondary
#C08F3B
accent
#AC35F3
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #13408C

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

Preview Lab → · Contrast checker → · Palette generator →

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