#131171#131171

#131171 is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.4% C 0.154 H 270.8°. Best body text is #FFFFFF at 15.60:1 contrast (WCAG AA passes).

Color values

HEX#131171
RGBrgb(19, 17, 113)
HSLhsl(241, 74%, 25%)
HSVhsv(241, 85%, 44%)
CMYKcmyk(83.2%, 85%, 0%, 55.7%)
CIE-LABlab(14.01, 36.18, -53.30)
CIE-LCHlch(14.01, 64.42, 304.17°)
OKLaboklab(27.45% 0.0022 -0.1543)
OKLCHoklch(27.45% 0.154 270.8)
XYZxyz(3.4486, 1.7312, 15.7720)
Luminance0.0173 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131171 #6F7111
analogous
#113F71 #131171 #431171
triadic
#131171 #711311 #117113
tetradic
#131171 #71113F #6F7111 #117143
square
#131171 #71113F #6F7111 #117143
split-complementary
#131171 #714311 #3F7111
monochromatic
#04041B #0A093C #131171 #1C19A6 #2521DB

Accessibility & contrast

On white

15.60
#131171 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#131171 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131171
15.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131171#FFFFFF#000000##FFFFFF
##1311711.0015.601.3515.60
#FFFFFF15.601.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002874
Deuteranopia (green-blind)
#001F6F
Tritanopia (blue-blind)
#003042
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #131171;
/* rgb */ color: rgb(19, 17, 113);
/* oklch */ color: oklch(27.4% 0.154 270.8);
Tailwind
colors: {
  custom: {
    50: '#65529b',
    500: '#131171',
    950: '#000000',
  },
}
SCSS
$custom: #131171;
$custom-light: #65529b;
$custom-dark: #000000;
JSON
{
  "hex": "#131171",
  "rgb": {
    "r": 19,
    "g": 17,
    "b": 113
  },
  "hsl": {
    "h": 241.25,
    "s": 73.846,
    "l": 25.49
  },
  "oklch": {
    "l": 0.27448,
    "c": 0.1543,
    "h": 270.8
  },
  "luminance": 0.01732
}

Semantic roles & 50–950 ramp

primary
#131171
secondary
#A6A836
accent
#F137ED
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #131171

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

Preview Lab → · Contrast checker → · Palette generator →

#131171 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva