#131E81#131E81

#131E81 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.2% C 0.162 H 268.4°. Best body text is #FFFFFF at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#131E81
RGBrgb(19, 30, 129)
HSLhsl(234, 74%, 29%)
HSVhsv(234, 85%, 51%)
CMYKcmyk(85.3%, 76.7%, 0%, 49.4%)
CIE-LABlab(18.59, 34.35, -55.97)
CIE-LCHlch(18.59, 65.67, 301.54°)
OKLaboklab(31.25% -0.0046 -0.1622)
OKLCHoklch(31.25% 0.162 268.4)
XYZxyz(4.6939, 2.6514, 21.0290)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131E81 #817613
analogous
#135581 #131E81 #3F1381
triadic
#131E81 #81131E #1E8113
tetradic
#131E81 #811355 #817613 #13813F
square
#131E81 #811355 #817613 #13813F
split-complementary
#131E81 #813F13 #558113
monochromatic
#04061B #0B124C #131E81 #1B2AB6 #2E40E0

Accessibility & contrast

On white

13.72
#131E81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#131E81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131E81
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131E81#FFFFFF#000000##FFFFFF
##131E811.0013.721.5313.72
#FFFFFF13.721.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003384
Deuteranopia (green-blind)
#00287F
Tritanopia (blue-blind)
#003B4E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #131e81;
/* rgb */ color: rgb(19, 30, 129);
/* oklch */ color: oklch(31.2% 0.162 268.4);
Tailwind
colors: {
  custom: {
    50: '#685ba7',
    500: '#131e81',
    950: '#000000',
  },
}
SCSS
$custom: #131e81;
$custom-light: #685ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#131e81",
  "rgb": {
    "r": 19,
    "g": 30,
    "b": 129
  },
  "hsl": {
    "h": 234,
    "s": 74.324,
    "l": 29.02
  },
  "oklch": {
    "l": 0.31246,
    "c": 0.16227,
    "h": 268.4
  },
  "luminance": 0.02652
}

Semantic roles & 50–950 ramp

primary
#131E81
secondary
#B6AA3A
accent
#DE37F1
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#070410
muted
#7A797F

Preview Lab

Preview with #131E81

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

Preview Lab → · Contrast checker → · Palette generator →

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