#131172#131172

#131172 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.6% C 0.156 H 270.7°. Best body text is #FFFFFF at 15.55:1 contrast (WCAG AA passes).

Color values

HEX#131172
RGBrgb(19, 17, 114)
HSLhsl(241, 74%, 26%)
HSVhsv(241, 85%, 45%)
CMYKcmyk(83.3%, 85.1%, 0%, 55.3%)
CIE-LABlab(14.14, 36.52, -53.73)
CIE-LCHlch(14.14, 64.97, 304.20°)
OKLaboklab(27.58% 0.002 -0.1555)
OKLCHoklch(27.58% 0.156 270.7)
XYZxyz(3.5052, 1.7538, 16.0701)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131172 #707211
analogous
#113F72 #131172 #431172
triadic
#131172 #721311 #117213
tetradic
#131172 #72113F #707211 #117243
square
#131172 #72113F #707211 #117243
split-complementary
#131172 #724311 #3F7211
monochromatic
#04041B #0A093D #131172 #1C19A7 #2521DD

Accessibility & contrast

On white

15.55
#131172 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#131172 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131172
15.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131172#FFFFFF#000000##FFFFFF
##1311721.0015.551.3515.55
#FFFFFF15.551.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002975
Deuteranopia (green-blind)
#001F70
Tritanopia (blue-blind)
#003042
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #131172;
/* rgb */ color: rgb(19, 17, 114);
/* oklch */ color: oklch(27.6% 0.156 270.7);
Tailwind
colors: {
  custom: {
    50: '#65529c',
    500: '#131172',
    950: '#000000',
  },
}
SCSS
$custom: #131172;
$custom-light: #65529c;
$custom-dark: #000000;
JSON
{
  "hex": "#131172",
  "rgb": {
    "r": 19,
    "g": 17,
    "b": 114
  },
  "hsl": {
    "h": 241.237,
    "s": 74.046,
    "l": 25.686
  },
  "oklch": {
    "l": 0.27576,
    "c": 0.15555,
    "h": 270.7
  },
  "luminance": 0.01754
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #131172

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

Preview Lab → · Contrast checker → · Palette generator →

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