#13175B#13175B

#13175B is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.7% C 0.119 H 272.0°. Best body text is #FFFFFF at 16.14:1 contrast (WCAG AA passes).

Color values

HEX#13175B
RGBrgb(19, 23, 91)
HSLhsl(237, 65%, 22%)
HSVhsv(237, 79%, 36%)
CMYKcmyk(79.1%, 74.7%, 0%, 64.3%)
CIE-LABlab(12.65, 24.47, -41.01)
CIE-LCHlch(12.65, 47.76, 300.82°)
OKLaboklab(25.71% 0.004 -0.1186)
OKLCHoklch(25.71% 0.119 272)
XYZxyz(2.4626, 1.5063, 10.0565)
Luminance0.0151 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13175B #5B5713
analogous
#133B5B #13175B #33135B
triadic
#13175B #5B1317 #175B13
tetradic
#13175B #5B133B #5B5713 #135B33
square
#13175B #5B133B #5B5713 #135B33
split-complementary
#13175B #5B3313 #3B5B13
monochromatic
#050619 #080A28 #13175B #1E248E #2831C0

Accessibility & contrast

On white

16.14
#13175B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#13175B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #13175B
16.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13175B#FFFFFF#000000##FFFFFF
##13175B1.0016.141.3016.14
#FFFFFF16.141.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245D
Deuteranopia (green-blind)
#001D5A
Tritanopia (blue-blind)
#002A37
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #13175b;
/* rgb */ color: rgb(19, 23, 91);
/* oklch */ color: oklch(25.7% 0.119 272.0);
Tailwind
colors: {
  custom: {
    50: '#5e548a',
    500: '#13175b',
    950: '#000000',
  },
}
SCSS
$custom: #13175b;
$custom-light: #5e548a;
$custom-dark: #000000;
JSON
{
  "hex": "#13175b",
  "rgb": {
    "r": 19,
    "g": 23,
    "b": 91
  },
  "hsl": {
    "h": 236.667,
    "s": 65.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.25708,
    "c": 0.11872,
    "h": 272
  },
  "luminance": 0.01507
}

Semantic roles & 50–950 ramp

primary
#13175B
secondary
#938E37
accent
#DF3FE8
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05020C
muted
#79787D

Preview Lab

Preview with #13175B

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

Preview Lab → · Contrast checker → · Palette generator →

#13175B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva