#131A56#131A56

#131A56 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.7% C 0.108 H 271.3°. Best body text is #FFFFFF at 16.03:1 contrast (WCAG AA passes).

Color values

HEX#131A56
RGBrgb(19, 26, 86)
HSLhsl(234, 64%, 21%)
HSVhsv(234, 78%, 34%)
CMYKcmyk(77.9%, 69.8%, 0%, 66.3%)
CIE-LABlab(12.92, 20.34, -37.20)
CIE-LCHlch(12.92, 42.40, 298.67°)
OKLaboklab(25.74% 0.0025 -0.1075)
OKLCHoklch(25.74% 0.108 271.3)
XYZxyz(2.3171, 1.5489, 8.9791)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131A56 #564F13
analogous
#133B56 #131A56 #2D1356
triadic
#131A56 #56131A #1A5613
tetradic
#131A56 #56133B #564F13 #13562D
square
#131A56 #56133B #564F13 #13562D
split-complementary
#131A56 #562D13 #3B5613
monochromatic
#060819 #080B24 #131A56 #1E2988 #2938BA

Accessibility & contrast

On white

16.03
#131A56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#131A56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131A56
16.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131A56#FFFFFF#000000##FFFFFF
##131A561.0016.031.3116.03
#FFFFFF16.031.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002558
Deuteranopia (green-blind)
#001E55
Tritanopia (blue-blind)
#002A35
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #131a56;
/* rgb */ color: rgb(19, 26, 86);
/* oklch */ color: oklch(25.7% 0.108 271.3);
Tailwind
colors: {
  custom: {
    50: '#5c5686',
    500: '#131a56',
    950: '#000000',
  },
}
SCSS
$custom: #131a56;
$custom-light: #5c5686;
$custom-dark: #000000;
JSON
{
  "hex": "#131a56",
  "rgb": {
    "r": 19,
    "g": 26,
    "b": 86
  },
  "hsl": {
    "h": 233.731,
    "s": 63.81,
    "l": 20.588
  },
  "oklch": {
    "l": 0.25743,
    "c": 0.10752,
    "h": 271.3
  },
  "luminance": 0.01549
}

Semantic roles & 50–950 ramp

primary
#131A56
secondary
#8E8536
accent
#D541E7
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#05030B
muted
#79787C

Preview Lab

Preview with #131A56

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

Preview Lab → · Contrast checker → · Palette generator →

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