#131B71#131B71

#131B71 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.9% C 0.144 H 269.5°. Best body text is #FFFFFF at 14.76:1 contrast (WCAG AA passes).

Color values

HEX#131B71
RGBrgb(19, 27, 113)
HSLhsl(235, 71%, 26%)
HSVhsv(235, 83%, 44%)
CMYKcmyk(83.2%, 76.1%, 0%, 55.7%)
CIE-LABlab(16.07, 30.28, -49.88)
CIE-LCHlch(16.07, 58.35, 301.26°)
OKLaboklab(28.91% -0.0012 -0.1445)
OKLCHoklch(28.91% 0.144 269.5)
XYZxyz(3.6401, 2.1141, 15.8358)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131B71 #716913
analogous
#134A71 #131B71 #3A1371
triadic
#131B71 #71131B #1B7113
tetradic
#131B71 #71134A #716913 #13713A
square
#131B71 #71134A #716913 #13713A
split-complementary
#131B71 #713A13 #4A7113
monochromatic
#04061A #0A0E3D #131B71 #1C28A5 #2534DA

Accessibility & contrast

On white

14.76
#131B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#131B71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131B71
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131B71#FFFFFF#000000##FFFFFF
##131B711.0014.761.4214.76
#FFFFFF14.761.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D74
Deuteranopia (green-blind)
#00236F
Tritanopia (blue-blind)
#003444
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #131b71;
/* rgb */ color: rgb(19, 27, 113);
/* oklch */ color: oklch(28.9% 0.144 269.5);
Tailwind
colors: {
  custom: {
    50: '#64589b',
    500: '#131b71',
    950: '#000000',
  },
}
SCSS
$custom: #131b71;
$custom-light: #64589b;
$custom-dark: #000000;
JSON
{
  "hex": "#131b71",
  "rgb": {
    "r": 19,
    "g": 27,
    "b": 113
  },
  "hsl": {
    "h": 234.894,
    "s": 71.212,
    "l": 25.882
  },
  "oklch": {
    "l": 0.28907,
    "c": 0.14448,
    "h": 269.5
  },
  "luminance": 0.02115
}

Semantic roles & 50–950 ramp

primary
#131B71
secondary
#A89E38
accent
#DF3AEE
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030E
muted
#7A787E

Preview Lab

Preview with #131B71

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

Preview Lab → · Contrast checker → · Palette generator →

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