#131A51#131A51

#131A51 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.2% C 0.100 H 271.6°. Best body text is #FFFFFF at 16.23:1 contrast (WCAG AA passes).

Color values

HEX#131A51
RGBrgb(19, 26, 81)
HSLhsl(233, 62%, 20%)
HSVhsv(233, 77%, 32%)
CMYKcmyk(76.5%, 67.9%, 0%, 68.2%)
CIE-LABlab(12.42, 18.29, -34.60)
CIE-LCHlch(12.42, 39.14, 297.86°)
OKLaboklab(25.23% 0.0027 -0.0999)
OKLCHoklch(25.23% 0.1 271.6)
XYZxyz(2.1227, 1.4711, 7.9551)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131A51 #514A13
analogous
#133951 #131A51 #2B1351
triadic
#131A51 #51131A #1A5113
tetradic
#131A51 #511339 #514A13 #13512B
square
#131A51 #511339 #514A13 #13512B
split-complementary
#131A51 #512B13 #395113
monochromatic
#060819 #070A1F #131A51 #1F2A83 #2A3AB4

Accessibility & contrast

On white

16.23
#131A51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#131A51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131A51
16.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131A51#FFFFFF#000000##FFFFFF
##131A511.0016.231.2916.23
#FFFFFF16.231.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002353
Deuteranopia (green-blind)
#001E50
Tritanopia (blue-blind)
#002832
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #131a51;
/* rgb */ color: rgb(19, 26, 81);
/* oklch */ color: oklch(25.2% 0.100 271.6);
Tailwind
colors: {
  custom: {
    50: '#5b5682',
    500: '#131a51',
    950: '#000000',
  },
}
SCSS
$custom: #131a51;
$custom-light: #5b5682;
$custom-dark: #000000;
JSON
{
  "hex": "#131a51",
  "rgb": {
    "r": 19,
    "g": 26,
    "b": 81
  },
  "hsl": {
    "h": 233.226,
    "s": 62,
    "l": 19.608
  },
  "oklch": {
    "l": 0.25229,
    "c": 0.09992,
    "h": 271.6
  },
  "luminance": 0.01471
}

Semantic roles & 50–950 ramp

primary
#131A51
secondary
#8A8036
accent
#D343E5
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030A
muted
#79787C

Preview Lab

Preview with #131A51

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

Preview Lab → · Contrast checker → · Palette generator →

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