#131B51#131B51

#131B51 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.4% C 0.099 H 271.1°. Best body text is #FFFFFF at 16.11:1 contrast (WCAG AA passes).

Color values

HEX#131B51
RGBrgb(19, 27, 81)
HSLhsl(232, 62%, 20%)
HSVhsv(232, 77%, 32%)
CMYKcmyk(76.5%, 66.7%, 0%, 68.2%)
CIE-LABlab(12.71, 17.55, -34.14)
CIE-LCHlch(12.71, 38.38, 297.21°)
OKLaboklab(25.44% 0.0019 -0.0985)
OKLCHoklch(25.44% 0.099 271.1)
XYZxyz(2.1452, 1.5162, 7.9626)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131B51 #514913
analogous
#133A51 #131B51 #2A1351
triadic
#131B51 #51131B #1B5113
tetradic
#131B51 #51133A #514913 #13512A
square
#131B51 #51133A #514913 #13512A
split-complementary
#131B51 #512A13 #3A5113
monochromatic
#060819 #070A1F #131B51 #1F2C83 #2A3CB4

Accessibility & contrast

On white

16.11
#131B51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#131B51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131B51
16.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131B51#FFFFFF#000000##FFFFFF
##131B511.0016.111.3016.11
#FFFFFF16.111.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002453
Deuteranopia (green-blind)
#001E50
Tritanopia (blue-blind)
#002933
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #131b51;
/* rgb */ color: rgb(19, 27, 81);
/* oklch */ color: oklch(25.4% 0.099 271.1);
Tailwind
colors: {
  custom: {
    50: '#5b5782',
    500: '#131b51',
    950: '#000000',
  },
}
SCSS
$custom: #131b51;
$custom-light: #5b5782;
$custom-dark: #000000;
JSON
{
  "hex": "#131b51",
  "rgb": {
    "r": 19,
    "g": 27,
    "b": 81
  },
  "hsl": {
    "h": 232.258,
    "s": 62,
    "l": 19.608
  },
  "oklch": {
    "l": 0.25441,
    "c": 0.09851,
    "h": 271.1
  },
  "luminance": 0.01516
}

Semantic roles & 50–950 ramp

primary
#131B51
secondary
#8A7F36
accent
#D043E5
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030A
muted
#79787C

Preview Lab

Preview with #131B51

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

Preview Lab → · Contrast checker → · Palette generator →

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