#13175E#13175E

#13175E is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.0% C 0.123 H 271.7°. Best body text is #FFFFFF at 16.01:1 contrast (WCAG AA passes).

Color values

HEX#13175E
RGBrgb(19, 23, 94)
HSLhsl(237, 66%, 22%)
HSVhsv(237, 80%, 37%)
CMYKcmyk(79.8%, 75.5%, 0%, 63.1%)
CIE-LABlab(12.98, 25.64, -42.48)
CIE-LCHlch(12.98, 49.62, 301.12°)
OKLaboklab(26.05% 0.0036 -0.1229)
OKLCHoklch(26.05% 0.123 271.7)
XYZxyz(2.5947, 1.5591, 10.7517)
Luminance0.0156 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13175E #5E5A13
analogous
#133D5E #13175E #35135E
triadic
#13175E #5E1317 #175E13
tetradic
#13175E #5E133D #5E5A13 #135E35
square
#13175E #5E133D #5E5A13 #135E35
split-complementary
#13175E #5E3513 #3D5E13
monochromatic
#050619 #090B2B #13175E #1D2391 #2830C4

Accessibility & contrast

On white

16.01
#13175E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #13175E
16.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13175E#FFFFFF#000000##FFFFFF
##13175E1.0016.011.3116.01
#FFFFFF16.011.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002560
Deuteranopia (green-blind)
#001E5D
Tritanopia (blue-blind)
#002B38
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #13175e;
/* rgb */ color: rgb(19, 23, 94);
/* oklch */ color: oklch(26.0% 0.123 271.7);
Tailwind
colors: {
  custom: {
    50: '#5f548c',
    500: '#13175e',
    950: '#000000',
  },
}
SCSS
$custom: #13175e;
$custom-light: #5f548c;
$custom-dark: #000000;
JSON
{
  "hex": "#13175e",
  "rgb": {
    "r": 19,
    "g": 23,
    "b": 94
  },
  "hsl": {
    "h": 236.8,
    "s": 66.372,
    "l": 22.157
  },
  "oklch": {
    "l": 0.26046,
    "c": 0.12298,
    "h": 271.7
  },
  "luminance": 0.01559
}

Semantic roles & 50–950 ramp

primary
#13175E
secondary
#969137
accent
#E03FE9
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05030C
muted
#7A787D

Preview Lab

Preview with #13175E

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

Preview Lab → · Contrast checker → · Palette generator →

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