#131870#131870

#131870 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.3% C 0.146 H 270.1°. Best body text is #FFFFFF at 15.08:1 contrast (WCAG AA passes).

Color values

HEX#131870
RGBrgb(19, 24, 112)
HSLhsl(237, 71%, 26%)
HSVhsv(237, 83%, 44%)
CMYKcmyk(83%, 78.6%, 0%, 56.1%)
CIE-LABlab(15.28, 31.81, -50.54)
CIE-LCHlch(15.28, 59.71, 302.18°)
OKLaboklab(28.31% 0.0002 -0.1464)
OKLCHoklch(28.31% 0.146 270.1)
XYZxyz(3.5188, 1.9612, 15.5192)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131870 #706B13
analogous
#134670 #131870 #3C1370
triadic
#131870 #701318 #187013
tetradic
#131870 #701346 #706B13 #13703C
square
#131870 #701346 #706B13 #13703C
split-complementary
#131870 #703C13 #467013
monochromatic
#04061A #0A0D3C #131870 #1C23A4 #252ED9

Accessibility & contrast

On white

15.08
#131870 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#131870 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131870
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131870#FFFFFF#000000##FFFFFF
##1318701.0015.081.3915.08
#FFFFFF15.081.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B73
Deuteranopia (green-blind)
#00226E
Tritanopia (blue-blind)
#003243
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #131870;
/* rgb */ color: rgb(19, 24, 112);
/* oklch */ color: oklch(28.3% 0.146 270.1);
Tailwind
colors: {
  custom: {
    50: '#64569a',
    500: '#131870',
    950: '#000000',
  },
}
SCSS
$custom: #131870;
$custom-light: #64569a;
$custom-dark: #000000;
JSON
{
  "hex": "#131870",
  "rgb": {
    "r": 19,
    "g": 24,
    "b": 112
  },
  "hsl": {
    "h": 236.774,
    "s": 70.992,
    "l": 25.686
  },
  "oklch": {
    "l": 0.28307,
    "c": 0.14638,
    "h": 270.1
  },
  "luminance": 0.01962
}

Semantic roles & 50–950 ramp

primary
#131870
secondary
#A7A138
accent
#E43AEE
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030E
muted
#7A787E

Preview Lab

Preview with #131870

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

Preview Lab → · Contrast checker → · Palette generator →

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