#131156#131156

#131156 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 24.1% C 0.119 H 274.1°. Best body text is #FFFFFF at 16.91:1 contrast (WCAG AA passes).

Color values

HEX#131156
RGBrgb(19, 17, 86)
HSLhsl(242, 67%, 20%)
HSVhsv(242, 80%, 34%)
CMYKcmyk(77.9%, 80.2%, 0%, 66.3%)
CIE-LABlab(10.64, 26.55, -40.94)
CIE-LCHlch(10.64, 48.80, 302.96°)
OKLaboklab(24.1% 0.0085 -0.1184)
OKLCHoklch(24.1% 0.119 274.1)
XYZxyz(2.1482, 1.2110, 8.9228)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131156 #545611
analogous
#113156 #131156 #351156
triadic
#131156 #561311 #115613
tetradic
#131156 #561131 #545611 #115635
square
#131156 #561131 #545611 #115635
split-complementary
#131156 #563511 #315611
monochromatic
#06051A #080723 #131156 #1E1B89 #2A25BC

Accessibility & contrast

On white

16.91
#131156 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#131156 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131156
16.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131156#FFFFFF#000000##FFFFFF
##1311561.0016.911.2416.91
#FFFFFF16.911.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002058
Deuteranopia (green-blind)
#001955
Tritanopia (blue-blind)
#002532
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #131156;
/* rgb */ color: rgb(19, 17, 86);
/* oklch */ color: oklch(24.1% 0.119 274.1);
Tailwind
colors: {
  custom: {
    50: '#5d5086',
    500: '#131156',
    950: '#000000',
  },
}
SCSS
$custom: #131156;
$custom-light: #5d5086;
$custom-dark: #000000;
JSON
{
  "hex": "#131156",
  "rgb": {
    "r": 19,
    "g": 17,
    "b": 86
  },
  "hsl": {
    "h": 241.739,
    "s": 66.99,
    "l": 20.196
  },
  "oklch": {
    "l": 0.241,
    "c": 0.11873,
    "h": 274.1
  },
  "luminance": 0.01211
}

Semantic roles & 50–950 ramp

primary
#131156
secondary
#8C8F34
accent
#EA3EE5
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #131156

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

Preview Lab → · Contrast checker → · Palette generator →

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