#13175D#13175D

#13175D is a dark, vivid blue. Relative luminance 0.015; OKLCH L 25.9% C 0.122 H 271.8°. Best body text is #FFFFFF at 16.05:1 contrast (WCAG AA passes).

Color values

HEX#13175D
RGBrgb(19, 23, 93)
HSLhsl(237, 66%, 22%)
HSVhsv(237, 80%, 36%)
CMYKcmyk(79.6%, 75.3%, 0%, 63.5%)
CIE-LABlab(12.87, 25.25, -41.99)
CIE-LCHlch(12.87, 49.00, 301.02°)
OKLaboklab(25.93% 0.0038 -0.1215)
OKLCHoklch(25.93% 0.122 271.8)
XYZxyz(2.5501, 1.5413, 10.5169)
Luminance0.0154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13175D #5D5913
analogous
#133C5D #13175D #34135D
triadic
#13175D #5D1317 #175D13
tetradic
#13175D #5D133C #5D5913 #135D34
square
#13175D #5D133C #5D5913 #135D34
split-complementary
#13175D #5D3413 #3C5D13
monochromatic
#050619 #090A2A #13175D #1D2490 #2830C3

Accessibility & contrast

On white

16.05
#13175D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#13175D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #13175D
16.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13175D#FFFFFF#000000##FFFFFF
##13175D1.0016.051.3116.05
#FFFFFF16.051.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255F
Deuteranopia (green-blind)
#001E5C
Tritanopia (blue-blind)
#002A38
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #13175d;
/* rgb */ color: rgb(19, 23, 93);
/* oklch */ color: oklch(25.9% 0.122 271.8);
Tailwind
colors: {
  custom: {
    50: '#5f548c',
    500: '#13175d',
    950: '#000000',
  },
}
SCSS
$custom: #13175d;
$custom-light: #5f548c;
$custom-dark: #000000;
JSON
{
  "hex": "#13175d",
  "rgb": {
    "r": 19,
    "g": 23,
    "b": 93
  },
  "hsl": {
    "h": 236.757,
    "s": 66.071,
    "l": 21.961
  },
  "oklch": {
    "l": 0.25933,
    "c": 0.12157,
    "h": 271.8
  },
  "luminance": 0.01542
}

Semantic roles & 50–950 ramp

primary
#13175D
secondary
#959037
accent
#E03FE9
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #13175D

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

Preview Lab → · Contrast checker → · Palette generator →

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