#131157#131157

#131157 is a very dark, vivid blue. Relative luminance 0.012; OKLCH L 24.2% C 0.120 H 274.0°. Best body text is #FFFFFF at 16.86:1 contrast (WCAG AA passes).

Color values

HEX#131157
RGBrgb(19, 17, 87)
HSLhsl(242, 67%, 20%)
HSVhsv(242, 80%, 34%)
CMYKcmyk(78.2%, 80.5%, 0%, 65.9%)
CIE-LABlab(10.76, 26.92, -41.43)
CIE-LCHlch(10.76, 49.41, 303.02°)
OKLaboklab(24.22% 0.0083 -0.1198)
OKLCHoklch(24.22% 0.12 274)
XYZxyz(2.1887, 1.2272, 9.1365)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131157 #555711
analogous
#113257 #131157 #361157
triadic
#131157 #571311 #115713
tetradic
#131157 #571132 #555711 #115736
square
#131157 #571132 #555711 #115736
split-complementary
#131157 #573611 #325711
monochromatic
#06051A #080724 #131157 #1E1B8A #2925BD

Accessibility & contrast

On white

16.86
#131157 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #131157
16.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131157#FFFFFF#000000##FFFFFF
##1311571.0016.861.2516.86
#FFFFFF16.861.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002059
Deuteranopia (green-blind)
#001A56
Tritanopia (blue-blind)
#002533
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #131157;
/* rgb */ color: rgb(19, 17, 87);
/* oklch */ color: oklch(24.2% 0.120 274.0);
Tailwind
colors: {
  custom: {
    50: '#5e5087',
    500: '#131157',
    950: '#000000',
  },
}
SCSS
$custom: #131157;
$custom-light: #5e5087;
$custom-dark: #000000;
JSON
{
  "hex": "#131157",
  "rgb": {
    "r": 19,
    "g": 17,
    "b": 87
  },
  "hsl": {
    "h": 241.714,
    "s": 67.308,
    "l": 20.392
  },
  "oklch": {
    "l": 0.24219,
    "c": 0.12012,
    "h": 274
  },
  "luminance": 0.01227
}

Semantic roles & 50–950 ramp

primary
#131157
secondary
#8D9034
accent
#EA3EE5
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05020B
muted
#79787C

Preview Lab

Preview with #131157

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

Preview Lab → · Contrast checker → · Palette generator →

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