#131B81#131B81

#131B81 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.8% C 0.165 H 268.7°. Best body text is #FFFFFF at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#131B81
RGBrgb(19, 27, 129)
HSLhsl(236, 74%, 29%)
HSVhsv(236, 85%, 51%)
CMYKcmyk(85.3%, 79.1%, 0%, 49.4%)
CIE-LABlab(17.95, 36.17, -57.03)
CIE-LCHlch(17.95, 67.53, 302.38°)
OKLaboklab(30.79% -0.0037 -0.1652)
OKLCHoklch(30.79% 0.165 268.7)
XYZxyz(4.6216, 2.5067, 21.0049)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131B81 #817913
analogous
#135281 #131B81 #421381
triadic
#131B81 #81131B #1B8113
tetradic
#131B81 #811352 #817913 #138142
square
#131B81 #811352 #817913 #138142
split-complementary
#131B81 #814213 #528113
monochromatic
#04061B #0B104C #131B81 #1B26B6 #2E3BE0

Accessibility & contrast

On white

13.99
#131B81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#131B81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131B81
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131B81#FFFFFF#000000##FFFFFF
##131B811.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003184
Deuteranopia (green-blind)
#00267F
Tritanopia (blue-blind)
#003A4D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #131b81;
/* rgb */ color: rgb(19, 27, 129);
/* oklch */ color: oklch(30.8% 0.165 268.7);
Tailwind
colors: {
  custom: {
    50: '#6959a7',
    500: '#131b81',
    950: '#000000',
  },
}
SCSS
$custom: #131b81;
$custom-light: #6959a7;
$custom-dark: #000000;
JSON
{
  "hex": "#131b81",
  "rgb": {
    "r": 19,
    "g": 27,
    "b": 129
  },
  "hsl": {
    "h": 235.636,
    "s": 74.324,
    "l": 29.02
  },
  "oklch": {
    "l": 0.30791,
    "c": 0.16529,
    "h": 268.7
  },
  "luminance": 0.02507
}

Semantic roles & 50–950 ramp

primary
#131B81
secondary
#B6AD3A
accent
#E337F1
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#080310
muted
#7A787F

Preview Lab

Preview with #131B81

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

Preview Lab → · Contrast checker → · Palette generator →

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