#131174#131174

#131174 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.8% C 0.158 H 270.6°. Best body text is #FFFFFF at 15.44:1 contrast (WCAG AA passes).

Color values

HEX#131174
RGBrgb(19, 17, 116)
HSLhsl(241, 74%, 26%)
HSVhsv(241, 85%, 45%)
CMYKcmyk(83.6%, 85.3%, 0%, 54.5%)
CIE-LABlab(14.40, 37.20, -54.59)
CIE-LCHlch(14.40, 66.06, 304.27°)
OKLaboklab(27.83% 0.0015 -0.158)
OKLCHoklch(27.83% 0.158 270.6)
XYZxyz(3.6203, 1.7999, 16.6762)
Luminance0.0180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131174 #727411
analogous
#114074 #131174 #441174
triadic
#131174 #741311 #117413
tetradic
#131174 #741140 #727411 #117444
square
#131174 #741140 #727411 #117444
split-complementary
#131174 #744411 #407411
monochromatic
#04041B #0A093F #131174 #1C19A9 #2521DE

Accessibility & contrast

On white

15.44
#131174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#131174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131174
15.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131174#FFFFFF#000000##FFFFFF
##1311741.0015.441.3615.44
#FFFFFF15.441.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002977
Deuteranopia (green-blind)
#001F72
Tritanopia (blue-blind)
#003144
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #131174;
/* rgb */ color: rgb(19, 17, 116);
/* oklch */ color: oklch(27.8% 0.158 270.6);
Tailwind
colors: {
  custom: {
    50: '#66529d',
    500: '#131174',
    950: '#000000',
  },
}
SCSS
$custom: #131174;
$custom-light: #66529d;
$custom-dark: #000000;
JSON
{
  "hex": "#131174",
  "rgb": {
    "r": 19,
    "g": 17,
    "b": 116
  },
  "hsl": {
    "h": 241.212,
    "s": 74.436,
    "l": 26.078
  },
  "oklch": {
    "l": 0.27833,
    "c": 0.15804,
    "h": 270.6
  },
  "luminance": 0.018
}

Semantic roles & 50–950 ramp

primary
#131174
secondary
#A9AB36
accent
#F137ED
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #131174

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

Preview Lab → · Contrast checker → · Palette generator →

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