#13175F#13175F

#13175F is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.2% C 0.124 H 271.6°. Best body text is #FFFFFF at 15.96:1 contrast (WCAG AA passes).

Color values

HEX#13175F
RGBrgb(19, 23, 95)
HSLhsl(237, 67%, 22%)
HSVhsv(237, 80%, 37%)
CMYKcmyk(80%, 75.8%, 0%, 62.7%)
CIE-LABlab(13.09, 26.03, -42.96)
CIE-LCHlch(13.09, 50.23, 301.21°)
OKLaboklab(26.16% 0.0035 -0.1243)
OKLCHoklch(26.16% 0.124 271.6)
XYZxyz(2.6398, 1.5772, 10.9896)
Luminance0.0158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13175F #5F5B13
analogous
#133D5F #13175F #35135F
triadic
#13175F #5F1317 #175F13
tetradic
#13175F #5F133D #5F5B13 #135F35
square
#13175F #5F133D #5F5B13 #135F35
split-complementary
#13175F #5F3513 #3D5F13
monochromatic
#05061A #090B2C #13175F #1D2392 #2730C5

Accessibility & contrast

On white

15.96
#13175F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#13175F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #13175F
15.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13175F#FFFFFF#000000##FFFFFF
##13175F1.0015.961.3215.96
#FFFFFF15.961.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002561
Deuteranopia (green-blind)
#001E5E
Tritanopia (blue-blind)
#002B39
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #13175f;
/* rgb */ color: rgb(19, 23, 95);
/* oklch */ color: oklch(26.2% 0.124 271.6);
Tailwind
colors: {
  custom: {
    50: '#5f548d',
    500: '#13175f',
    950: '#000000',
  },
}
SCSS
$custom: #13175f;
$custom-light: #5f548d;
$custom-dark: #000000;
JSON
{
  "hex": "#13175f",
  "rgb": {
    "r": 19,
    "g": 23,
    "b": 95
  },
  "hsl": {
    "h": 236.842,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.2616,
    "c": 0.12439,
    "h": 271.6
  },
  "luminance": 0.01577
}

Semantic roles & 50–950 ramp

primary
#13175F
secondary
#979237
accent
#E13EEA
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05030C
muted
#7A787D

Preview Lab

Preview with #13175F

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

Preview Lab → · Contrast checker → · Palette generator →

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