#131158#131158

#131158 is a very dark, vivid blue. Relative luminance 0.012; OKLCH L 24.3% C 0.121 H 273.8°. Best body text is #FFFFFF at 16.82:1 contrast (WCAG AA passes).

Color values

HEX#131158
RGBrgb(19, 17, 88)
HSLhsl(242, 68%, 21%)
HSVhsv(242, 81%, 35%)
CMYKcmyk(78.4%, 80.7%, 0%, 65.5%)
CIE-LABlab(10.88, 27.29, -41.91)
CIE-LCHlch(10.88, 50.01, 303.07°)
OKLaboklab(24.34% 0.0081 -0.1212)
OKLCHoklch(24.34% 0.122 273.8)
XYZxyz(2.2299, 1.2437, 9.3532)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131158 #565811
analogous
#113258 #131158 #361158
triadic
#131158 #581311 #115813
tetradic
#131158 #581132 #565811 #115836
square
#131158 #581132 #565811 #115836
split-complementary
#131158 #583611 #325811
monochromatic
#06051A #080725 #131158 #1E1B8B #2925BF

Accessibility & contrast

On white

16.82
#131158 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#131158 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131158
16.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131158#FFFFFF#000000##FFFFFF
##1311581.0016.821.2516.82
#FFFFFF16.821.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00215A
Deuteranopia (green-blind)
#001A57
Tritanopia (blue-blind)
#002633
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #131158;
/* rgb */ color: rgb(19, 17, 88);
/* oklch */ color: oklch(24.3% 0.121 273.8);
Tailwind
colors: {
  custom: {
    50: '#5e5088',
    500: '#131158',
    950: '#000000',
  },
}
SCSS
$custom: #131158;
$custom-light: #5e5088;
$custom-dark: #000000;
JSON
{
  "hex": "#131158",
  "rgb": {
    "r": 19,
    "g": 17,
    "b": 88
  },
  "hsl": {
    "h": 241.69,
    "s": 67.619,
    "l": 20.588
  },
  "oklch": {
    "l": 0.24339,
    "c": 0.1215,
    "h": 273.8
  },
  "luminance": 0.01244
}

Semantic roles & 50–950 ramp

primary
#131158
secondary
#8E9134
accent
#EA3DE6
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05020B
muted
#79787C

Preview Lab

Preview with #131158

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

Preview Lab → · Contrast checker → · Palette generator →

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