#131557#131557

#131557 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.9% C 0.115 H 272.9°. Best body text is #FFFFFF at 16.50:1 contrast (WCAG AA passes).

Color values

HEX#131557
RGBrgb(19, 21, 87)
HSLhsl(238, 64%, 21%)
HSVhsv(238, 78%, 34%)
CMYKcmyk(78.2%, 75.9%, 0%, 65.9%)
CIE-LABlab(11.71, 24.27, -39.86)
CIE-LCHlch(11.71, 46.67, 301.34°)
OKLaboklab(24.9% 0.0059 -0.1153)
OKLCHoklch(24.9% 0.115 272.9)
XYZxyz(2.2564, 1.3627, 9.1591)
Luminance0.0136 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131557 #575513
analogous
#133757 #131557 #331357
triadic
#131557 #571315 #155713
tetradic
#131557 #571337 #575513 #135733
square
#131557 #571337 #575513 #135733
split-complementary
#131557 #573313 #375713
monochromatic
#050619 #080925 #131557 #1E2189 #292DBB

Accessibility & contrast

On white

16.50
#131557 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#131557 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131557
16.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131557#FFFFFF#000000##FFFFFF
##1315571.0016.501.2716.50
#FFFFFF16.501.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002259
Deuteranopia (green-blind)
#001C56
Tritanopia (blue-blind)
#002734
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #131557;
/* rgb */ color: rgb(19, 21, 87);
/* oklch */ color: oklch(24.9% 0.115 272.9);
Tailwind
colors: {
  custom: {
    50: '#5d5387',
    500: '#131557',
    950: '#000000',
  },
}
SCSS
$custom: #131557;
$custom-light: #5d5387;
$custom-dark: #000000;
JSON
{
  "hex": "#131557",
  "rgb": {
    "r": 19,
    "g": 21,
    "b": 87
  },
  "hsl": {
    "h": 238.235,
    "s": 64.151,
    "l": 20.784
  },
  "oklch": {
    "l": 0.24897,
    "c": 0.11544,
    "h": 272.9
  },
  "luminance": 0.01363
}

Semantic roles & 50–950 ramp

primary
#131557
secondary
#8F8D36
accent
#E241E7
background
#F5F4F8
surface
#E9E7F0
border
#C5C3CB
text
#05020B
muted
#79787C

Preview Lab

Preview with #131557

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

Preview Lab → · Contrast checker → · Palette generator →

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