#131173#131173

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

Color values

HEX#131173
RGBrgb(19, 17, 115)
HSLhsl(241, 74%, 26%)
HSVhsv(241, 85%, 45%)
CMYKcmyk(83.5%, 85.2%, 0%, 54.9%)
CIE-LABlab(14.27, 36.86, -54.16)
CIE-LCHlch(14.27, 65.52, 304.24°)
OKLaboklab(27.7% 0.0018 -0.1568)
OKLCHoklch(27.7% 0.157 270.6)
XYZxyz(3.5625, 1.7767, 16.3715)
Luminance0.0178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131173 #717311
analogous
#114073 #131173 #441173
triadic
#131173 #731311 #117313
tetradic
#131173 #731140 #717311 #117344
square
#131173 #731140 #717311 #117344
split-complementary
#131173 #734411 #407311
monochromatic
#04041B #0A093E #131173 #1C19A8 #2521DE

Accessibility & contrast

On white

15.49
#131173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #131173
15.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131173#FFFFFF#000000##FFFFFF
##1311731.0015.491.3615.49
#FFFFFF15.491.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002976
Deuteranopia (green-blind)
#001F71
Tritanopia (blue-blind)
#003043
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #131173;
/* rgb */ color: rgb(19, 17, 115);
/* oklch */ color: oklch(27.7% 0.157 270.6);
Tailwind
colors: {
  custom: {
    50: '#66529d',
    500: '#131173',
    950: '#000000',
  },
}
SCSS
$custom: #131173;
$custom-light: #66529d;
$custom-dark: #000000;
JSON
{
  "hex": "#131173",
  "rgb": {
    "r": 19,
    "g": 17,
    "b": 115
  },
  "hsl": {
    "h": 241.224,
    "s": 74.242,
    "l": 25.882
  },
  "oklch": {
    "l": 0.27704,
    "c": 0.15679,
    "h": 270.6
  },
  "luminance": 0.01777
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #131173

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

Preview Lab → · Contrast checker → · Palette generator →

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