#13315F#13315F

#13315F is a dark, moderate blue. Relative luminance 0.032; OKLCH L 31.8% C 0.089 H 258.9°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#13315F
RGBrgb(19, 49, 95)
HSLhsl(216, 67%, 22%)
HSVhsv(216, 80%, 37%)
CMYKcmyk(80%, 48.4%, 0%, 62.7%)
CIE-LABlab(20.68, 7.17, -30.62)
CIE-LCHlch(20.68, 31.45, 283.17°)
OKLaboklab(31.84% -0.0173 -0.0878)
OKLCHoklch(31.84% 0.089 258.9)
XYZxyz(3.4317, 3.1609, 11.2535)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13315F #5F4113
analogous
#13575F #13315F #1B135F
triadic
#13315F #5F1331 #315F13
tetradic
#13315F #5F1357 #5F4113 #135F1B
square
#13315F #5F1357 #5F4113 #135F1B
split-complementary
#13315F #5F1B13 #575F13
monochromatic
#050D1A #09172C #13315F #1D4B92 #2766C5

Accessibility & contrast

On white

12.87
#13315F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#13315F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #13315F
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13315F#FFFFFF#000000##FFFFFF
##13315F1.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193661
Deuteranopia (green-blind)
#092F5E
Tritanopia (blue-blind)
#003C43
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #13315f;
/* rgb */ color: rgb(19, 49, 95);
/* oklch */ color: oklch(31.8% 0.089 258.9);
Tailwind
colors: {
  custom: {
    50: '#5d688d',
    500: '#13315f',
    950: '#000000',
  },
}
SCSS
$custom: #13315f;
$custom-light: #5d688d;
$custom-dark: #000000;
JSON
{
  "hex": "#13315f",
  "rgb": {
    "r": 19,
    "g": 49,
    "b": 95
  },
  "hsl": {
    "h": 216.316,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.31836,
    "c": 0.08944,
    "h": 258.9
  },
  "luminance": 0.03161
}

Semantic roles & 50–950 ramp

primary
#13315F
secondary
#977137
accent
#A63EEA
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #13315F

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

Preview Lab → · Contrast checker → · Palette generator →

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