#131D57#131D57

#131D57 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.5% C 0.105 H 270.0°. Best body text is #FFFFFF at 15.66:1 contrast (WCAG AA passes).

Color values

HEX#131D57
RGBrgb(19, 29, 87)
HSLhsl(231, 64%, 21%)
HSVhsv(231, 78%, 34%)
CMYKcmyk(78.2%, 66.7%, 0%, 65.9%)
CIE-LABlab(13.86, 18.56, -36.34)
CIE-LCHlch(13.86, 40.80, 297.05°)
OKLaboklab(26.47% 0.0001 -0.1049)
OKLCHoklch(26.47% 0.105 270)
XYZxyz(2.4276, 1.7050, 9.2161)
Luminance0.0170 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131D57 #574D13
analogous
#133F57 #131D57 #2B1357
triadic
#131D57 #57131D #1D5713
tetradic
#131D57 #57133F #574D13 #13572B
square
#131D57 #57133F #574D13 #13572B
split-complementary
#131D57 #572B13 #3F5713
monochromatic
#050819 #080C25 #131D57 #1E2E89 #293EBB

Accessibility & contrast

On white

15.66
#131D57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#131D57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131D57
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131D57#FFFFFF#000000##FFFFFF
##131D571.0015.661.3415.66
#FFFFFF15.661.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002759
Deuteranopia (green-blind)
#002056
Tritanopia (blue-blind)
#002C36
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #131d57;
/* rgb */ color: rgb(19, 29, 87);
/* oklch */ color: oklch(26.5% 0.105 270.0);
Tailwind
colors: {
  custom: {
    50: '#5c5887',
    500: '#131d57',
    950: '#000000',
  },
}
SCSS
$custom: #131d57;
$custom-light: #5c5887;
$custom-dark: #000000;
JSON
{
  "hex": "#131d57",
  "rgb": {
    "r": 19,
    "g": 29,
    "b": 87
  },
  "hsl": {
    "h": 231.176,
    "s": 64.151,
    "l": 20.784
  },
  "oklch": {
    "l": 0.26465,
    "c": 0.10493,
    "h": 270
  },
  "luminance": 0.01705
}

Semantic roles & 50–950 ramp

primary
#131D57
secondary
#8F8236
accent
#CF41E7
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#05030B
muted
#79787C

Preview Lab

Preview with #131D57

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

Preview Lab → · Contrast checker → · Palette generator →

#131D57 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva