#131574#131574

#131574 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.4% C 0.155 H 270.2°. Best body text is #FFFFFF at 15.14:1 contrast (WCAG AA passes).

Color values

HEX#131574
RGBrgb(19, 21, 116)
HSLhsl(239, 72%, 26%)
HSVhsv(239, 84%, 45%)
CMYKcmyk(83.6%, 81.9%, 0%, 54.5%)
CIE-LABlab(15.14, 35.03, -53.36)
CIE-LCHlch(15.14, 63.83, 303.29°)
OKLaboklab(28.35% 0.0005 -0.1545)
OKLCHoklch(28.35% 0.155 270.2)
XYZxyz(3.6880, 1.9353, 16.6988)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131574 #747213
analogous
#134674 #131574 #421374
triadic
#131574 #741315 #157413
tetradic
#131574 #741346 #747213 #137442
square
#131574 #741346 #747213 #137442
split-complementary
#131574 #744213 #467413
monochromatic
#04051A #0A0B3F #131574 #1C1FA9 #262ADB

Accessibility & contrast

On white

15.14
#131574 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #131574
15.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131574#FFFFFF#000000##FFFFFF
##1315741.0015.141.3915.14
#FFFFFF15.141.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B77
Deuteranopia (green-blind)
#002172
Tritanopia (blue-blind)
#003244
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #131574;
/* rgb */ color: rgb(19, 21, 116);
/* oklch */ color: oklch(28.4% 0.155 270.2);
Tailwind
colors: {
  custom: {
    50: '#66549d',
    500: '#131574',
    950: '#000000',
  },
}
SCSS
$custom: #131574;
$custom-light: #66549d;
$custom-dark: #000000;
JSON
{
  "hex": "#131574",
  "rgb": {
    "r": 19,
    "g": 21,
    "b": 116
  },
  "hsl": {
    "h": 238.763,
    "s": 71.852,
    "l": 26.471
  },
  "oklch": {
    "l": 0.28352,
    "c": 0.15453,
    "h": 270.2
  },
  "luminance": 0.01936
}

Semantic roles & 50–950 ramp

primary
#131574
secondary
#AAA838
accent
#EB39EF
background
#F6F4F9
surface
#EBE8F2
border
#C6C4CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #131574

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

Preview Lab → · Contrast checker → · Palette generator →

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