#131159#131159

#131159 is a very dark, vivid blue. Relative luminance 0.013; OKLCH L 24.5% C 0.123 H 273.7°. Best body text is #FFFFFF at 16.77:1 contrast (WCAG AA passes).

Color values

HEX#131159
RGBrgb(19, 17, 89)
HSLhsl(242, 68%, 21%)
HSVhsv(242, 81%, 35%)
CMYKcmyk(78.7%, 80.9%, 0%, 65.1%)
CIE-LABlab(11.00, 27.66, -42.39)
CIE-LCHlch(11.00, 50.62, 303.13°)
OKLaboklab(24.46% 0.0079 -0.1226)
OKLCHoklch(24.46% 0.123 273.7)
XYZxyz(2.2716, 1.2604, 9.5728)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131159 #575911
analogous
#113359 #131159 #371159
triadic
#131159 #591311 #115913
tetradic
#131159 #591133 #575911 #115937
square
#131159 #591133 #575911 #115937
split-complementary
#131159 #593711 #335911
monochromatic
#05051A #080726 #131159 #1E1B8C #2925C0

Accessibility & contrast

On white

16.77
#131159 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #131159
16.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131159#FFFFFF#000000##FFFFFF
##1311591.0016.771.2516.77
#FFFFFF16.771.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00215B
Deuteranopia (green-blind)
#001A58
Tritanopia (blue-blind)
#002634
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #131159;
/* rgb */ color: rgb(19, 17, 89);
/* oklch */ color: oklch(24.5% 0.123 273.7);
Tailwind
colors: {
  custom: {
    50: '#5e5089',
    500: '#131159',
    950: '#000000',
  },
}
SCSS
$custom: #131159;
$custom-light: #5e5089;
$custom-dark: #000000;
JSON
{
  "hex": "#131159",
  "rgb": {
    "r": 19,
    "g": 17,
    "b": 89
  },
  "hsl": {
    "h": 241.667,
    "s": 67.925,
    "l": 20.784
  },
  "oklch": {
    "l": 0.24459,
    "c": 0.12288,
    "h": 273.7
  },
  "luminance": 0.01261
}

Semantic roles & 50–950 ramp

primary
#131159
secondary
#8F9234
accent
#EB3DE6
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05020C
muted
#79787D

Preview Lab

Preview with #131159

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

Preview Lab → · Contrast checker → · Palette generator →

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