#13318E#13318E

#13318E is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.0% C 0.158 H 265.1°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#13318E
RGBrgb(19, 49, 142)
HSLhsl(225, 76%, 32%)
HSVhsv(225, 87%, 56%)
CMYKcmyk(86.6%, 65.5%, 0%, 44.3%)
CIE-LABlab(24.60, 26.79, -54.21)
CIE-LCHlch(24.60, 60.47, 296.30°)
OKLaboklab(36.02% -0.0134 -0.157)
OKLCHoklch(36.02% 0.158 265.1)
XYZxyz(6.2476, 4.2873, 26.0842)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13318E #8E7013
analogous
#136F8E #13318E #33138E
triadic
#13318E #8E1331 #318E13
tetradic
#13318E #8E136F #8E7013 #138E33
square
#13318E #8E136F #8E7013 #138E33
split-complementary
#13318E #8E3313 #6F8E13
monochromatic
#050C22 #0C1E58 #13318E #1A44C4 #3761E4

Accessibility & contrast

On white

11.30
#13318E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#13318E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #13318E
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13318E#FFFFFF#000000##FFFFFF
##13318E1.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004091
Deuteranopia (green-blind)
#00358C
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #13318e;
/* rgb */ color: rgb(19, 49, 142);
/* oklch */ color: oklch(36.0% 0.158 265.1);
Tailwind
colors: {
  custom: {
    50: '#6a68b0',
    500: '#13318e',
    950: '#000000',
  },
}
SCSS
$custom: #13318e;
$custom-light: #6a68b0;
$custom-dark: #000000;
JSON
{
  "hex": "#13318e",
  "rgb": {
    "r": 19,
    "g": 49,
    "b": 142
  },
  "hsl": {
    "h": 225.366,
    "s": 76.398,
    "l": 31.569
  },
  "oklch": {
    "l": 0.36021,
    "c": 0.15762,
    "h": 265.1
  },
  "luminance": 0.04288
}

Semantic roles & 50–950 ramp

primary
#13318E
secondary
#C2A13B
accent
#C535F3
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080611
muted
#7B7A80

Preview Lab

Preview with #13318E

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

Preview Lab → · Contrast checker → · Palette generator →

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