#131872#131872

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

Color values

HEX#131872
RGBrgb(19, 24, 114)
HSLhsl(237, 71%, 26%)
HSVhsv(237, 83%, 45%)
CMYKcmyk(83.3%, 78.9%, 0%, 55.3%)
CIE-LABlab(15.52, 32.54, -51.44)
CIE-LCHlch(15.52, 60.87, 302.32°)
OKLaboklab(28.55% -0.0002 -0.149)
OKLCHoklch(28.55% 0.149 269.9)
XYZxyz(3.6314, 2.0062, 16.1122)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131872 #726D13
analogous
#134772 #131872 #3D1372
triadic
#131872 #721318 #187213
tetradic
#131872 #721347 #726D13 #13723D
square
#131872 #721347 #726D13 #13723D
split-complementary
#131872 #723D13 #477213
monochromatic
#04061A #0A0D3E #131872 #1C23A6 #252EDB

Accessibility & contrast

On white

14.99
#131872 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #131872
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131872#FFFFFF#000000##FFFFFF
##1318721.0014.991.4014.99
#FFFFFF14.991.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #131872;
/* rgb */ color: rgb(19, 24, 114);
/* oklch */ color: oklch(28.5% 0.149 269.9);
Tailwind
colors: {
  custom: {
    50: '#65569c',
    500: '#131872',
    950: '#000000',
  },
}
SCSS
$custom: #131872;
$custom-light: #65569c;
$custom-dark: #000000;
JSON
{
  "hex": "#131872",
  "rgb": {
    "r": 19,
    "g": 24,
    "b": 114
  },
  "hsl": {
    "h": 236.842,
    "s": 71.429,
    "l": 26.078
  },
  "oklch": {
    "l": 0.28546,
    "c": 0.14901,
    "h": 269.9
  },
  "luminance": 0.02007
}

Semantic roles & 50–950 ramp

primary
#131872
secondary
#A9A338
accent
#E53AEE
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #131872

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

Preview Lab → · Contrast checker → · Palette generator →

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