#131971#131971

#131971 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.6% C 0.147 H 269.9°. Best body text is #FFFFFF at 14.94:1 contrast (WCAG AA passes).

Color values

HEX#131971
RGBrgb(19, 25, 113)
HSLhsl(236, 71%, 26%)
HSVhsv(236, 83%, 44%)
CMYKcmyk(83.2%, 77.9%, 0%, 55.7%)
CIE-LABlab(15.62, 31.55, -50.63)
CIE-LCHlch(15.62, 59.65, 301.93°)
OKLaboklab(28.58% -0.0004 -0.1466)
OKLCHoklch(28.58% 0.147 269.9)
XYZxyz(3.5958, 2.0256, 15.8210)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131971 #716B13
analogous
#134871 #131971 #3C1371
triadic
#131971 #711319 #197113
tetradic
#131971 #711348 #716B13 #13713C
square
#131971 #711348 #716B13 #13713C
split-complementary
#131971 #713C13 #487113
monochromatic
#04061A #0A0D3D #131971 #1C25A5 #2530DA

Accessibility & contrast

On white

14.94
#131971 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#131971 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131971
14.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131971#FFFFFF#000000##FFFFFF
##1319711.0014.941.4114.94
#FFFFFF14.941.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #131971;
/* rgb */ color: rgb(19, 25, 113);
/* oklch */ color: oklch(28.6% 0.147 269.9);
Tailwind
colors: {
  custom: {
    50: '#64579b',
    500: '#131971',
    950: '#000000',
  },
}
SCSS
$custom: #131971;
$custom-light: #64579b;
$custom-dark: #000000;
JSON
{
  "hex": "#131971",
  "rgb": {
    "r": 19,
    "g": 25,
    "b": 113
  },
  "hsl": {
    "h": 236.17,
    "s": 71.212,
    "l": 25.882
  },
  "oklch": {
    "l": 0.28583,
    "c": 0.14665,
    "h": 269.9
  },
  "luminance": 0.02026
}

Semantic roles & 50–950 ramp

primary
#131971
secondary
#A8A138
accent
#E23AEE
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030E
muted
#7A787E

Preview Lab

Preview with #131971

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

Preview Lab → · Contrast checker → · Palette generator →

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