#131D56#131D56

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

Color values

HEX#131D56
RGBrgb(19, 29, 86)
HSLhsl(231, 64%, 21%)
HSVhsv(231, 78%, 34%)
CMYKcmyk(77.9%, 66.3%, 0%, 66.3%)
CIE-LABlab(13.76, 18.14, -35.82)
CIE-LCHlch(13.76, 40.15, 296.87°)
OKLaboklab(26.37% 0.0001 -0.1034)
OKLCHoklch(26.37% 0.103 270)
XYZxyz(2.3871, 1.6888, 9.0025)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131D56 #564C13
analogous
#133E56 #131D56 #2A1356
triadic
#131D56 #56131D #1D5613
tetradic
#131D56 #56133E #564C13 #13562A
square
#131D56 #56133E #564C13 #13562A
split-complementary
#131D56 #562A13 #3E5613
monochromatic
#060819 #080C24 #131D56 #1E2E88 #293FBA

Accessibility & contrast

On white

15.70
#131D56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #131D56
15.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131D56#FFFFFF#000000##FFFFFF
##131D561.0015.701.3415.70
#FFFFFF15.701.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002658
Deuteranopia (green-blind)
#002055
Tritanopia (blue-blind)
#002B36
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #131d56;
/* rgb */ color: rgb(19, 29, 86);
/* oklch */ color: oklch(26.4% 0.103 270.0);
Tailwind
colors: {
  custom: {
    50: '#5c5886',
    500: '#131d56',
    950: '#000000',
  },
}
SCSS
$custom: #131d56;
$custom-light: #5c5886;
$custom-dark: #000000;
JSON
{
  "hex": "#131d56",
  "rgb": {
    "r": 19,
    "g": 29,
    "b": 86
  },
  "hsl": {
    "h": 231.045,
    "s": 63.81,
    "l": 20.588
  },
  "oklch": {
    "l": 0.26365,
    "c": 0.1034,
    "h": 270
  },
  "luminance": 0.01689
}

Semantic roles & 50–950 ramp

primary
#131D56
secondary
#8E8136
accent
#CE41E7
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#05030B
muted
#79787C

Preview Lab

Preview with #131D56

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

Preview Lab → · Contrast checker → · Palette generator →

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