#13315B#13315B

#13315B is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.5% C 0.083 H 257.4°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#13315B
RGBrgb(19, 49, 91)
HSLhsl(215, 65%, 22%)
HSVhsv(215, 79%, 36%)
CMYKcmyk(79.1%, 46.2%, 0%, 64.3%)
CIE-LABlab(20.40, 5.46, -28.43)
CIE-LCHlch(20.40, 28.95, 280.88°)
OKLaboklab(31.53% -0.0181 -0.0813)
OKLCHoklch(31.53% 0.083 257.4)
XYZxyz(3.2545, 3.0900, 10.3204)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13315B #5B3D13
analogous
#13555B #13315B #19135B
triadic
#13315B #5B1331 #315B13
tetradic
#13315B #5B1355 #5B3D13 #135B19
square
#13315B #5B1355 #5B3D13 #135B19
split-complementary
#13315B #5B1913 #555B13
monochromatic
#050E19 #081628 #13315B #1E4C8E #2868C0

Accessibility & contrast

On white

12.98
#13315B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#13315B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #13315B
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13315B#FFFFFF#000000##FFFFFF
##13315B1.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C355D
Deuteranopia (green-blind)
#0F2E5A
Tritanopia (blue-blind)
#003B41
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #13315b;
/* rgb */ color: rgb(19, 49, 91);
/* oklch */ color: oklch(31.5% 0.083 257.4);
Tailwind
colors: {
  custom: {
    50: '#5c688a',
    500: '#13315b',
    950: '#000000',
  },
}
SCSS
$custom: #13315b;
$custom-light: #5c688a;
$custom-dark: #000000;
JSON
{
  "hex": "#13315b",
  "rgb": {
    "r": 19,
    "g": 49,
    "b": 91
  },
  "hsl": {
    "h": 215,
    "s": 65.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31533,
    "c": 0.08331,
    "h": 257.4
  },
  "luminance": 0.0309
}

Semantic roles & 50–950 ramp

primary
#13315B
secondary
#936D37
accent
#A23FE8
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04060B
muted
#797A7C

Preview Lab

Preview with #13315B

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

Preview Lab → · Contrast checker → · Palette generator →

#13315B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva