#13315E#13315E

#13315E is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.8% C 0.088 H 258.5°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#13315E
RGBrgb(19, 49, 94)
HSLhsl(216, 66%, 22%)
HSVhsv(216, 80%, 37%)
CMYKcmyk(79.8%, 47.9%, 0%, 63.1%)
CIE-LABlab(20.61, 6.74, -30.08)
CIE-LCHlch(20.61, 30.82, 282.63°)
OKLaboklab(31.76% -0.0175 -0.0862)
OKLCHoklch(31.76% 0.088 258.5)
XYZxyz(3.3865, 3.1428, 11.0157)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13315E #5E4013
analogous
#13575E #13315E #1B135E
triadic
#13315E #5E1331 #315E13
tetradic
#13315E #5E1357 #5E4013 #135E1B
square
#13315E #5E1357 #5E4013 #135E1B
split-complementary
#13315E #5E1B13 #575E13
monochromatic
#050D19 #09162B #13315E #1D4C91 #2866C4

Accessibility & contrast

On white

12.89
#13315E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #13315E
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13315E#FFFFFF#000000##FFFFFF
##13315E1.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3560
Deuteranopia (green-blind)
#0B2E5D
Tritanopia (blue-blind)
#003C42
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #13315e;
/* rgb */ color: rgb(19, 49, 94);
/* oklch */ color: oklch(31.8% 0.088 258.5);
Tailwind
colors: {
  custom: {
    50: '#5d688c',
    500: '#13315e',
    950: '#000000',
  },
}
SCSS
$custom: #13315e;
$custom-light: #5d688c;
$custom-dark: #000000;
JSON
{
  "hex": "#13315e",
  "rgb": {
    "r": 19,
    "g": 49,
    "b": 94
  },
  "hsl": {
    "h": 216,
    "s": 66.372,
    "l": 22.157
  },
  "oklch": {
    "l": 0.31759,
    "c": 0.08791,
    "h": 258.5
  },
  "luminance": 0.03143
}

Semantic roles & 50–950 ramp

primary
#13315E
secondary
#967037
accent
#A53FE9
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #13315E

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

Preview Lab → · Contrast checker → · Palette generator →

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