#131871#131871

#131871 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.4% C 0.148 H 270.0°. Best body text is #FFFFFF at 15.03:1 contrast (WCAG AA passes).

Color values

HEX#131871
RGBrgb(19, 24, 113)
HSLhsl(237, 71%, 26%)
HSVhsv(237, 83%, 44%)
CMYKcmyk(83.2%, 78.8%, 0%, 55.7%)
CIE-LABlab(15.40, 32.17, -50.99)
CIE-LCHlch(15.40, 60.29, 302.25°)
OKLaboklab(28.43% 0 -0.1477)
OKLCHoklch(28.43% 0.148 270)
XYZxyz(3.5748, 1.9836, 15.8140)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131871 #716C13
analogous
#134771 #131871 #3D1371
triadic
#131871 #711318 #187113
tetradic
#131871 #711347 #716C13 #13713D
square
#131871 #711347 #716C13 #13713D
split-complementary
#131871 #713D13 #477113
monochromatic
#04061A #0A0D3D #131871 #1C23A5 #252EDA

Accessibility & contrast

On white

15.03
#131871 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#131871 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131871
15.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131871#FFFFFF#000000##FFFFFF
##1318711.0015.031.4015.03
#FFFFFF15.031.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B74
Deuteranopia (green-blind)
#00226F
Tritanopia (blue-blind)
#003243
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #131871;
/* rgb */ color: rgb(19, 24, 113);
/* oklch */ color: oklch(28.4% 0.148 270.0);
Tailwind
colors: {
  custom: {
    50: '#64569b',
    500: '#131871',
    950: '#000000',
  },
}
SCSS
$custom: #131871;
$custom-light: #64569b;
$custom-dark: #000000;
JSON
{
  "hex": "#131871",
  "rgb": {
    "r": 19,
    "g": 24,
    "b": 113
  },
  "hsl": {
    "h": 236.809,
    "s": 71.212,
    "l": 25.882
  },
  "oklch": {
    "l": 0.28426,
    "c": 0.1477,
    "h": 270
  },
  "luminance": 0.01984
}

Semantic roles & 50–950 ramp

primary
#131871
secondary
#A8A238
accent
#E43AEE
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #131871

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

Preview Lab → · Contrast checker → · Palette generator →

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