#13315C#13315C

#13315C is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.6% C 0.085 H 257.8°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#13315C
RGBrgb(19, 49, 92)
HSLhsl(215, 66%, 22%)
HSVhsv(215, 79%, 36%)
CMYKcmyk(79.3%, 46.7%, 0%, 63.9%)
CIE-LABlab(20.47, 5.89, -28.98)
CIE-LCHlch(20.47, 29.57, 281.48°)
OKLaboklab(31.61% -0.0179 -0.0829)
OKLCHoklch(31.61% 0.085 257.8)
XYZxyz(3.2979, 3.1074, 10.5491)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13315C #5C3E13
analogous
#13565C #13315C #19135C
triadic
#13315C #5C1331 #315C13
tetradic
#13315C #5C1356 #5C3E13 #135C19
square
#13315C #5C1356 #5C3E13 #135C19
split-complementary
#13315C #5C1913 #565C13
monochromatic
#050E19 #091629 #13315C #1D4C8F #2867C1

Accessibility & contrast

On white

12.95
#13315C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #13315C
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13315C#FFFFFF#000000##FFFFFF
##13315C1.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C355E
Deuteranopia (green-blind)
#0E2E5B
Tritanopia (blue-blind)
#003B42
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #13315c;
/* rgb */ color: rgb(19, 49, 92);
/* oklch */ color: oklch(31.6% 0.085 257.8);
Tailwind
colors: {
  custom: {
    50: '#5c688a',
    500: '#13315c',
    950: '#000000',
  },
}
SCSS
$custom: #13315c;
$custom-light: #5c688a;
$custom-dark: #000000;
JSON
{
  "hex": "#13315c",
  "rgb": {
    "r": 19,
    "g": 49,
    "b": 92
  },
  "hsl": {
    "h": 215.342,
    "s": 65.766,
    "l": 21.765
  },
  "oklch": {
    "l": 0.31608,
    "c": 0.08484,
    "h": 257.8
  },
  "luminance": 0.03108
}

Semantic roles & 50–950 ramp

primary
#13315C
secondary
#946E37
accent
#A33FE9
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #13315C

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

Preview Lab → · Contrast checker → · Palette generator →

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