#13176F#13176F

#13176F is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.0% C 0.146 H 270.3°. Best body text is #FFFFFF at 15.22:1 contrast (WCAG AA passes).

Color values

HEX#13176F
RGBrgb(19, 23, 111)
HSLhsl(237, 71%, 25%)
HSVhsv(237, 83%, 44%)
CMYKcmyk(82.9%, 79.3%, 0%, 56.5%)
CIE-LABlab(14.95, 32.06, -50.44)
CIE-LCHlch(14.95, 59.77, 302.44°)
OKLaboklab(28.03% 0.0008 -0.1461)
OKLCHoklch(28.03% 0.146 270.3)
XYZxyz(3.4432, 1.8985, 15.2208)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13176F #6F6B13
analogous
#13456F #13176F #3D136F
triadic
#13176F #6F1317 #176F13
tetradic
#13176F #6F1345 #6F6B13 #136F3D
square
#13176F #6F1345 #6F6B13 #136F3D
split-complementary
#13176F #6F3D13 #456F13
monochromatic
#04051A #0A0C3B #13176F #1C22A3 #252DD8

Accessibility & contrast

On white

15.22
#13176F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #13176F
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13176F#FFFFFF#000000##FFFFFF
##13176F1.0015.221.3815.22
#FFFFFF15.221.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A72
Deuteranopia (green-blind)
#00216D
Tritanopia (blue-blind)
#003142
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #13176f;
/* rgb */ color: rgb(19, 23, 111);
/* oklch */ color: oklch(28.0% 0.146 270.3);
Tailwind
colors: {
  custom: {
    50: '#645599',
    500: '#13176f',
    950: '#000000',
  },
}
SCSS
$custom: #13176f;
$custom-light: #645599;
$custom-dark: #000000;
JSON
{
  "hex": "#13176f",
  "rgb": {
    "r": 19,
    "g": 23,
    "b": 111
  },
  "hsl": {
    "h": 237.391,
    "s": 70.769,
    "l": 25.49
  },
  "oklch": {
    "l": 0.28033,
    "c": 0.1461,
    "h": 270.3
  },
  "luminance": 0.01899
}

Semantic roles & 50–950 ramp

primary
#13176F
secondary
#A6A138
accent
#E63AEE
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030E
muted
#7A787E

Preview Lab

Preview with #13176F

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

Preview Lab → · Contrast checker → · Palette generator →

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