#13176E#13176E

#13176E is a dark, vivid blue. Relative luminance 0.019; OKLCH L 27.9% C 0.145 H 270.4°. Best body text is #FFFFFF at 15.27:1 contrast (WCAG AA passes).

Color values

HEX#13176E
RGBrgb(19, 23, 110)
HSLhsl(237, 71%, 25%)
HSVhsv(237, 83%, 43%)
CMYKcmyk(82.7%, 79.1%, 0%, 56.9%)
CIE-LABlab(14.83, 31.69, -49.99)
CIE-LCHlch(14.83, 59.19, 302.37°)
OKLaboklab(27.91% 0.0009 -0.1448)
OKLCHoklch(27.91% 0.145 270.4)
XYZxyz(3.3885, 1.8766, 14.9325)
Luminance0.0188 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13176E #6E6A13
analogous
#13446E #13176E #3D136E
triadic
#13176E #6E1317 #176E13
tetradic
#13176E #6E1344 #6E6A13 #136E3D
square
#13176E #6E1344 #6E6A13 #136E3D
split-complementary
#13176E #6E3D13 #446E13
monochromatic
#05051A #0A0C3A #13176E #1C22A2 #252DD6

Accessibility & contrast

On white

15.27
#13176E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#13176E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #13176E
15.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13176E#FFFFFF#000000##FFFFFF
##13176E1.0015.271.3815.27
#FFFFFF15.271.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A71
Deuteranopia (green-blind)
#00216C
Tritanopia (blue-blind)
#003141
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #13176e;
/* rgb */ color: rgb(19, 23, 110);
/* oklch */ color: oklch(27.9% 0.145 270.4);
Tailwind
colors: {
  custom: {
    50: '#645599',
    500: '#13176e',
    950: '#000000',
  },
}
SCSS
$custom: #13176e;
$custom-light: #645599;
$custom-dark: #000000;
JSON
{
  "hex": "#13176e",
  "rgb": {
    "r": 19,
    "g": 23,
    "b": 110
  },
  "hsl": {
    "h": 237.363,
    "s": 70.543,
    "l": 25.294
  },
  "oklch": {
    "l": 0.27914,
    "c": 0.14478,
    "h": 270.4
  },
  "luminance": 0.01877
}

Semantic roles & 50–950 ramp

primary
#13176E
secondary
#A5A038
accent
#E53AED
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030E
muted
#7A787E

Preview Lab

Preview with #13176E

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

Preview Lab → · Contrast checker → · Palette generator →

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