#131C81#131C81

#131C81 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.9% C 0.164 H 268.6°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#131C81
RGBrgb(19, 28, 129)
HSLhsl(235, 74%, 29%)
HSVhsv(235, 85%, 51%)
CMYKcmyk(85.3%, 78.3%, 0%, 49.4%)
CIE-LABlab(18.16, 35.57, -56.68)
CIE-LCHlch(18.16, 66.92, 302.11°)
OKLaboklab(30.94% -0.004 -0.1643)
OKLCHoklch(30.94% 0.164 268.6)
XYZxyz(4.6449, 2.5534, 21.0127)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131C81 #817813
analogous
#135381 #131C81 #411381
triadic
#131C81 #81131C #1C8113
tetradic
#131C81 #811353 #817813 #138141
square
#131C81 #811353 #817813 #138141
split-complementary
#131C81 #814113 #538113
monochromatic
#04061B #0B104C #131C81 #1B28B6 #2E3DE0

Accessibility & contrast

On white

13.90
#131C81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#131C81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131C81
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131C81#FFFFFF#000000##FFFFFF
##131C811.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #131c81;
/* rgb */ color: rgb(19, 28, 129);
/* oklch */ color: oklch(30.9% 0.164 268.6);
Tailwind
colors: {
  custom: {
    50: '#6959a7',
    500: '#131c81',
    950: '#000000',
  },
}
SCSS
$custom: #131c81;
$custom-light: #6959a7;
$custom-dark: #000000;
JSON
{
  "hex": "#131c81",
  "rgb": {
    "r": 19,
    "g": 28,
    "b": 129
  },
  "hsl": {
    "h": 235.091,
    "s": 74.324,
    "l": 29.02
  },
  "oklch": {
    "l": 0.30939,
    "c": 0.16431,
    "h": 268.6
  },
  "luminance": 0.02554
}

Semantic roles & 50–950 ramp

primary
#131C81
secondary
#B6AC3A
accent
#E237F1
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#080410
muted
#7A797F

Preview Lab

Preview with #131C81

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

Preview Lab → · Contrast checker → · Palette generator →

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