#13315D#13315D

#13315D is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.7% C 0.086 H 258.2°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#13315D
RGBrgb(19, 49, 93)
HSLhsl(216, 66%, 22%)
HSVhsv(216, 80%, 36%)
CMYKcmyk(79.6%, 47.3%, 0%, 63.5%)
CIE-LABlab(20.54, 6.31, -29.53)
CIE-LCHlch(20.54, 30.20, 282.07°)
OKLaboklab(31.68% -0.0177 -0.0845)
OKLCHoklch(31.68% 0.086 258.2)
XYZxyz(3.3419, 3.1250, 10.7809)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13315D #5D3F13
analogous
#13565D #13315D #1A135D
triadic
#13315D #5D1331 #315D13
tetradic
#13315D #5D1356 #5D3F13 #135D1A
square
#13315D #5D1356 #5D3F13 #135D1A
split-complementary
#13315D #5D1A13 #565D13
monochromatic
#050D19 #09162A #13315D #1D4C90 #2867C3

Accessibility & contrast

On white

12.92
#13315D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #13315D
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13315D#FFFFFF#000000##FFFFFF
##13315D1.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #13315d;
/* rgb */ color: rgb(19, 49, 93);
/* oklch */ color: oklch(31.7% 0.086 258.2);
Tailwind
colors: {
  custom: {
    50: '#5d688b',
    500: '#13315d',
    950: '#000000',
  },
}
SCSS
$custom: #13315d;
$custom-light: #5d688b;
$custom-dark: #000000;
JSON
{
  "hex": "#13315d",
  "rgb": {
    "r": 19,
    "g": 49,
    "b": 93
  },
  "hsl": {
    "h": 215.676,
    "s": 66.071,
    "l": 21.961
  },
  "oklch": {
    "l": 0.31683,
    "c": 0.08638,
    "h": 258.2
  },
  "luminance": 0.03125
}

Semantic roles & 50–950 ramp

primary
#13315D
secondary
#956F37
accent
#A43FE9
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #13315D

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

Preview Lab → · Contrast checker → · Palette generator →

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