#131972#131972

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

Color values

HEX#131972
RGBrgb(19, 25, 114)
HSLhsl(236, 71%, 26%)
HSVhsv(236, 83%, 45%)
CMYKcmyk(83.3%, 78.1%, 0%, 55.3%)
CIE-LABlab(15.74, 31.92, -51.08)
CIE-LCHlch(15.74, 60.24, 302.00°)
OKLaboklab(28.7% -0.0005 -0.148)
OKLCHoklch(28.7% 0.148 269.8)
XYZxyz(3.6524, 2.0482, 16.1192)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131972 #726C13
analogous
#134872 #131972 #3C1372
triadic
#131972 #721319 #197213
tetradic
#131972 #721348 #726C13 #13723C
square
#131972 #721348 #726C13 #13723C
split-complementary
#131972 #723C13 #487213
monochromatic
#04061A #0A0D3E #131972 #1C25A6 #2530DB

Accessibility & contrast

On white

14.90
#131972 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #131972
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131972#FFFFFF#000000##FFFFFF
##1319721.0014.901.4114.90
#FFFFFF14.901.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C75
Deuteranopia (green-blind)
#002270
Tritanopia (blue-blind)
#003344
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #131972;
/* rgb */ color: rgb(19, 25, 114);
/* oklch */ color: oklch(28.7% 0.148 269.8);
Tailwind
colors: {
  custom: {
    50: '#65579c',
    500: '#131972',
    950: '#000000',
  },
}
SCSS
$custom: #131972;
$custom-light: #65579c;
$custom-dark: #000000;
JSON
{
  "hex": "#131972",
  "rgb": {
    "r": 19,
    "g": 25,
    "b": 114
  },
  "hsl": {
    "h": 236.211,
    "s": 71.429,
    "l": 26.078
  },
  "oklch": {
    "l": 0.28701,
    "c": 0.14797,
    "h": 269.8
  },
  "luminance": 0.02049
}

Semantic roles & 50–950 ramp

primary
#131972
secondary
#A9A238
accent
#E33AEE
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #131972

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

Preview Lab → · Contrast checker → · Palette generator →

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