#131F56#131F56

#131F56 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.8% C 0.101 H 269.1°. Best body text is #FFFFFF at 15.46:1 contrast (WCAG AA passes).

Color values

HEX#131F56
RGBrgb(19, 31, 86)
HSLhsl(229, 64%, 21%)
HSVhsv(229, 78%, 34%)
CMYKcmyk(77.9%, 64%, 0%, 66.3%)
CIE-LABlab(14.34, 16.66, -34.86)
CIE-LCHlch(14.34, 38.64, 295.53°)
OKLaboklab(26.8% -0.0016 -0.1006)
OKLCHoklch(26.8% 0.101 269.1)
XYZxyz(2.4377, 1.7901, 9.0193)
Luminance0.0179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131F56 #564A13
analogous
#134056 #131F56 #281356
triadic
#131F56 #56131F #1F5613
tetradic
#131F56 #561340 #564A13 #135628
square
#131F56 #561340 #564A13 #135628
split-complementary
#131F56 #562813 #405613
monochromatic
#060919 #080D24 #131F56 #1E3188 #2943BA

Accessibility & contrast

On white

15.46
#131F56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#131F56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131F56
15.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131F56#FFFFFF#000000##FFFFFF
##131F561.0015.461.3615.46
#FFFFFF15.461.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002858
Deuteranopia (green-blind)
#002155
Tritanopia (blue-blind)
#002D37
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #131f56;
/* rgb */ color: rgb(19, 31, 86);
/* oklch */ color: oklch(26.8% 0.101 269.1);
Tailwind
colors: {
  custom: {
    50: '#5c5a86',
    500: '#131f56',
    950: '#000000',
  },
}
SCSS
$custom: #131f56;
$custom-light: #5c5a86;
$custom-dark: #000000;
JSON
{
  "hex": "#131f56",
  "rgb": {
    "r": 19,
    "g": 31,
    "b": 86
  },
  "hsl": {
    "h": 229.254,
    "s": 63.81,
    "l": 20.588
  },
  "oklch": {
    "l": 0.26798,
    "c": 0.10059,
    "h": 269.1
  },
  "luminance": 0.0179
}

Semantic roles & 50–950 ramp

primary
#131F56
secondary
#8E7F36
accent
#C941E7
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #131F56

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

Preview Lab → · Contrast checker → · Palette generator →

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