#131671#131671

#131671 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.1% C 0.150 H 270.3°. Best body text is #FFFFFF at 15.21:1 contrast (WCAG AA passes).

Color values

HEX#131671
RGBrgb(19, 22, 113)
HSLhsl(238, 71%, 26%)
HSVhsv(238, 83%, 44%)
CMYKcmyk(83.2%, 80.5%, 0%, 55.7%)
CIE-LABlab(14.98, 33.38, -51.69)
CIE-LCHlch(14.98, 61.54, 302.86°)
OKLaboklab(28.13% 0.0007 -0.1497)
OKLCHoklch(28.13% 0.15 270.3)
XYZxyz(3.5351, 1.9041, 15.8008)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131671 #716E13
analogous
#134571 #131671 #3F1371
triadic
#131671 #711316 #167113
tetradic
#131671 #711345 #716E13 #13713F
square
#131671 #711345 #716E13 #13713F
split-complementary
#131671 #713F13 #457113
monochromatic
#04051A #0A0C3D #131671 #1C20A5 #252ADA

Accessibility & contrast

On white

15.21
#131671 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#131671 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131671
15.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131671#FFFFFF#000000##FFFFFF
##1316711.0015.211.3815.21
#FFFFFF15.211.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A74
Deuteranopia (green-blind)
#00216F
Tritanopia (blue-blind)
#003243
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #131671;
/* rgb */ color: rgb(19, 22, 113);
/* oklch */ color: oklch(28.1% 0.150 270.3);
Tailwind
colors: {
  custom: {
    50: '#65559b',
    500: '#131671',
    950: '#000000',
  },
}
SCSS
$custom: #131671;
$custom-light: #65559b;
$custom-dark: #000000;
JSON
{
  "hex": "#131671",
  "rgb": {
    "r": 19,
    "g": 22,
    "b": 113
  },
  "hsl": {
    "h": 238.085,
    "s": 71.212,
    "l": 25.882
  },
  "oklch": {
    "l": 0.28126,
    "c": 0.14972,
    "h": 270.3
  },
  "luminance": 0.01905
}

Semantic roles & 50–950 ramp

primary
#131671
secondary
#A8A438
accent
#E83AEE
background
#F6F5F9
surface
#EBE8F2
border
#C6C4CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #131671

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

Preview Lab → · Contrast checker → · Palette generator →

#131671 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva