#131373#131373

#131373 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 28.0% C 0.155 H 270.5°. Best body text is #FFFFFF at 15.35:1 contrast (WCAG AA passes).

Color values

HEX#131373
RGBrgb(19, 19, 115)
HSLhsl(240, 72%, 26%)
HSVhsv(240, 83%, 45%)
CMYKcmyk(83.5%, 83.5%, 0%, 54.9%)
CIE-LABlab(14.63, 35.80, -53.56)
CIE-LCHlch(14.63, 64.42, 303.76°)
OKLaboklab(27.96% 0.0012 -0.1551)
OKLCHoklch(27.96% 0.155 270.5)
XYZxyz(3.5949, 1.8416, 16.3823)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131373 #737313
analogous
#134373 #131373 #431373
triadic
#131373 #731313 #137313
tetradic
#131373 #731343 #737313 #137343
square
#131373 #731343 #737313 #137343
split-complementary
#131373 #734313 #437313
monochromatic
#04041A #0A0A3E #131373 #1C1CA8 #2525DB

Accessibility & contrast

On white

15.35
#131373 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#131373 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131373
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131373#FFFFFF#000000##FFFFFF
##1313731.0015.351.3715.35
#FFFFFF15.351.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A76
Deuteranopia (green-blind)
#002071
Tritanopia (blue-blind)
#003143
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #131373;
/* rgb */ color: rgb(19, 19, 115);
/* oklch */ color: oklch(28.0% 0.155 270.5);
Tailwind
colors: {
  custom: {
    50: '#65539c',
    500: '#131373',
    950: '#000000',
  },
}
SCSS
$custom: #131373;
$custom-light: #65539c;
$custom-dark: #000000;
JSON
{
  "hex": "#131373",
  "rgb": {
    "r": 19,
    "g": 19,
    "b": 115
  },
  "hsl": {
    "h": 240,
    "s": 71.642,
    "l": 26.275
  },
  "oklch": {
    "l": 0.27958,
    "c": 0.15507,
    "h": 270.5
  },
  "luminance": 0.01842
}

Semantic roles & 50–950 ramp

primary
#131373
secondary
#AAAA38
accent
#EE39EE
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #131373

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

Preview Lab → · Contrast checker → · Palette generator →

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