#131374#131374

#131374 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.1% C 0.156 H 270.4°. Best body text is #FFFFFF at 15.29:1 contrast (WCAG AA passes).

Color values

HEX#131374
RGBrgb(19, 19, 116)
HSLhsl(240, 72%, 26%)
HSVhsv(240, 84%, 45%)
CMYKcmyk(83.6%, 83.6%, 0%, 54.5%)
CIE-LABlab(14.76, 36.14, -53.99)
CIE-LCHlch(14.76, 64.97, 303.80°)
OKLaboklab(28.08% 0.001 -0.1563)
OKLCHoklch(28.08% 0.156 270.4)
XYZxyz(3.6527, 1.8647, 16.6870)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131374 #747413
analogous
#134474 #131374 #441374
triadic
#131374 #741313 #137413
tetradic
#131374 #741344 #747413 #137444
square
#131374 #741344 #747413 #137444
split-complementary
#131374 #744413 #447413
monochromatic
#04041A #0A0A3F #131374 #1C1CA9 #2626DB

Accessibility & contrast

On white

15.29
#131374 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #131374
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131374#FFFFFF#000000##FFFFFF
##1313741.0015.291.3715.29
#FFFFFF15.291.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A77
Deuteranopia (green-blind)
#002072
Tritanopia (blue-blind)
#003244
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #131374;
/* rgb */ color: rgb(19, 19, 116);
/* oklch */ color: oklch(28.1% 0.156 270.4);
Tailwind
colors: {
  custom: {
    50: '#66539d',
    500: '#131374',
    950: '#000000',
  },
}
SCSS
$custom: #131374;
$custom-light: #66539d;
$custom-dark: #000000;
JSON
{
  "hex": "#131374",
  "rgb": {
    "r": 19,
    "g": 19,
    "b": 116
  },
  "hsl": {
    "h": 240,
    "s": 71.852,
    "l": 26.471
  },
  "oklch": {
    "l": 0.28084,
    "c": 0.15633,
    "h": 270.4
  },
  "luminance": 0.01865
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #131374

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

Preview Lab → · Contrast checker → · Palette generator →

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