#131558#131558

#131558 is a dark, moderate blue. Relative luminance 0.014; OKLCH L 25.0% C 0.117 H 272.8°. Best body text is #FFFFFF at 16.46:1 contrast (WCAG AA passes).

Color values

HEX#131558
RGBrgb(19, 21, 88)
HSLhsl(238, 64%, 21%)
HSVhsv(238, 78%, 35%)
CMYKcmyk(78.4%, 76.1%, 0%, 65.5%)
CIE-LABlab(11.82, 24.67, -40.36)
CIE-LCHlch(11.82, 47.30, 301.44°)
OKLaboklab(25.01% 0.0058 -0.1167)
OKLCHoklch(25.01% 0.117 272.8)
XYZxyz(2.2976, 1.3791, 9.3757)
Luminance0.0138 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131558 #585613
analogous
#133758 #131558 #331358
triadic
#131558 #581315 #155813
tetradic
#131558 #581337 #585613 #135833
square
#131558 #581337 #585613 #135833
split-complementary
#131558 #583313 #375813
monochromatic
#050619 #080926 #131558 #1E218A #292DBD

Accessibility & contrast

On white

16.46
#131558 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#131558 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131558
16.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131558#FFFFFF#000000##FFFFFF
##1315581.0016.461.2816.46
#FFFFFF16.461.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00225A
Deuteranopia (green-blind)
#001C57
Tritanopia (blue-blind)
#002834
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #131558;
/* rgb */ color: rgb(19, 21, 88);
/* oklch */ color: oklch(25.0% 0.117 272.8);
Tailwind
colors: {
  custom: {
    50: '#5d5388',
    500: '#131558',
    950: '#000000',
  },
}
SCSS
$custom: #131558;
$custom-light: #5d5388;
$custom-dark: #000000;
JSON
{
  "hex": "#131558",
  "rgb": {
    "r": 19,
    "g": 21,
    "b": 88
  },
  "hsl": {
    "h": 238.261,
    "s": 64.486,
    "l": 20.98
  },
  "oklch": {
    "l": 0.25011,
    "c": 0.11687,
    "h": 272.8
  },
  "luminance": 0.01379
}

Semantic roles & 50–950 ramp

primary
#131558
secondary
#908E37
accent
#E340E7
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05020B
muted
#79787C

Preview Lab

Preview with #131558

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

Preview Lab → · Contrast checker → · Palette generator →

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