#13175C#13175C

#13175C is a dark, vivid blue. Relative luminance 0.015; OKLCH L 25.8% C 0.120 H 271.9°. Best body text is #FFFFFF at 16.09:1 contrast (WCAG AA passes).

Color values

HEX#13175C
RGBrgb(19, 23, 92)
HSLhsl(237, 66%, 22%)
HSVhsv(237, 79%, 36%)
CMYKcmyk(79.3%, 75%, 0%, 63.9%)
CIE-LABlab(12.76, 24.86, -41.50)
CIE-LCHlch(12.76, 48.38, 300.92°)
OKLaboklab(25.82% 0.0039 -0.1201)
OKLCHoklch(25.82% 0.12 271.9)
XYZxyz(2.5061, 1.5237, 10.2852)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13175C #5C5813
analogous
#133C5C #13175C #34135C
triadic
#13175C #5C1317 #175C13
tetradic
#13175C #5C133C #5C5813 #135C34
square
#13175C #5C133C #5C5813 #135C34
split-complementary
#13175C #5C3413 #3C5C13
monochromatic
#050619 #090A29 #13175C #1D248F #2830C1

Accessibility & contrast

On white

16.09
#13175C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #13175C
16.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13175C#FFFFFF#000000##FFFFFF
##13175C1.0016.091.3016.09
#FFFFFF16.091.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255E
Deuteranopia (green-blind)
#001E5B
Tritanopia (blue-blind)
#002A37
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #13175c;
/* rgb */ color: rgb(19, 23, 92);
/* oklch */ color: oklch(25.8% 0.120 271.9);
Tailwind
colors: {
  custom: {
    50: '#5e548b',
    500: '#13175c',
    950: '#000000',
  },
}
SCSS
$custom: #13175c;
$custom-light: #5e548b;
$custom-dark: #000000;
JSON
{
  "hex": "#13175c",
  "rgb": {
    "r": 19,
    "g": 23,
    "b": 92
  },
  "hsl": {
    "h": 236.712,
    "s": 65.766,
    "l": 21.765
  },
  "oklch": {
    "l": 0.2582,
    "c": 0.12014,
    "h": 271.9
  },
  "luminance": 0.01524
}

Semantic roles & 50–950 ramp

primary
#13175C
secondary
#948F37
accent
#DF3FE9
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05020C
muted
#79787D

Preview Lab

Preview with #13175C

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

Preview Lab → · Contrast checker → · Palette generator →

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