#131D81#131D81

#131D81 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.1% C 0.163 H 268.5°. Best body text is #FFFFFF at 13.81:1 contrast (WCAG AA passes).

Color values

HEX#131D81
RGBrgb(19, 29, 129)
HSLhsl(235, 74%, 29%)
HSVhsv(235, 85%, 51%)
CMYKcmyk(85.3%, 77.5%, 0%, 49.4%)
CIE-LABlab(18.37, 34.96, -56.33)
CIE-LCHlch(18.37, 66.30, 301.83°)
OKLaboklab(31.09% -0.0043 -0.1632)
OKLCHoklch(31.09% 0.163 268.5)
XYZxyz(4.6690, 2.6016, 21.0207)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131D81 #817713
analogous
#135481 #131D81 #401381
triadic
#131D81 #81131D #1D8113
tetradic
#131D81 #811354 #817713 #138140
square
#131D81 #811354 #817713 #138140
split-complementary
#131D81 #814013 #548113
monochromatic
#04061B #0B114C #131D81 #1B29B6 #2E3EE0

Accessibility & contrast

On white

13.81
#131D81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#131D81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131D81
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131D81#FFFFFF#000000##FFFFFF
##131D811.0013.811.5213.81
#FFFFFF13.811.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #131d81;
/* rgb */ color: rgb(19, 29, 129);
/* oklch */ color: oklch(31.1% 0.163 268.5);
Tailwind
colors: {
  custom: {
    50: '#685aa7',
    500: '#131d81',
    950: '#000000',
  },
}
SCSS
$custom: #131d81;
$custom-light: #685aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#131d81",
  "rgb": {
    "r": 19,
    "g": 29,
    "b": 129
  },
  "hsl": {
    "h": 234.545,
    "s": 74.324,
    "l": 29.02
  },
  "oklch": {
    "l": 0.31091,
    "c": 0.1633,
    "h": 268.5
  },
  "luminance": 0.02602
}

Semantic roles & 50–950 ramp

primary
#131D81
secondary
#B6AB3A
accent
#E037F1
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#070410
muted
#7A797F

Preview Lab

Preview with #131D81

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

Preview Lab → · Contrast checker → · Palette generator →

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