#131D51#131D51

#131D51 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.9% C 0.096 H 270.1°. Best body text is #FFFFFF at 15.88:1 contrast (WCAG AA passes).

Color values

HEX#131D51
RGBrgb(19, 29, 81)
HSLhsl(230, 62%, 20%)
HSVhsv(230, 77%, 32%)
CMYKcmyk(76.5%, 64.2%, 0%, 68.2%)
CIE-LABlab(13.30, 16.05, -33.18)
CIE-LCHlch(13.30, 36.86, 295.82°)
OKLaboklab(25.88% 0.0001 -0.0957)
OKLCHoklch(25.88% 0.096 270.1)
XYZxyz(2.1926, 1.6110, 7.9784)
Luminance0.0161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131D51 #514713
analogous
#133C51 #131D51 #281351
triadic
#131D51 #51131D #1D5113
tetradic
#131D51 #51133C #514713 #135128
square
#131D51 #51133C #514713 #135128
split-complementary
#131D51 #512813 #3C5113
monochromatic
#060919 #070B1F #131D51 #1F2F83 #2A40B4

Accessibility & contrast

On white

15.88
#131D51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#131D51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131D51
15.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131D51#FFFFFF#000000##FFFFFF
##131D511.0015.881.3215.88
#FFFFFF15.881.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002553
Deuteranopia (green-blind)
#001F50
Tritanopia (blue-blind)
#002A33
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #131d51;
/* rgb */ color: rgb(19, 29, 81);
/* oklch */ color: oklch(25.9% 0.096 270.1);
Tailwind
colors: {
  custom: {
    50: '#5b5882',
    500: '#131d51',
    950: '#000000',
  },
}
SCSS
$custom: #131d51;
$custom-light: #5b5882;
$custom-dark: #000000;
JSON
{
  "hex": "#131d51",
  "rgb": {
    "r": 19,
    "g": 29,
    "b": 81
  },
  "hsl": {
    "h": 230.323,
    "s": 62,
    "l": 19.608
  },
  "oklch": {
    "l": 0.25876,
    "c": 0.09566,
    "h": 270.1
  },
  "luminance": 0.01611
}

Semantic roles & 50–950 ramp

primary
#131D51
secondary
#8A7C36
accent
#CB43E5
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030A
muted
#79787C

Preview Lab

Preview with #131D51

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

Preview Lab → · Contrast checker → · Palette generator →

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