#131166#131166

#131166 is a dark, vivid blue. Relative luminance 0.015; OKLCH L 26.1% C 0.140 H 272.0°. Best body text is #FFFFFF at 16.16:1 contrast (WCAG AA passes).

Color values

HEX#131166
RGBrgb(19, 17, 102)
HSLhsl(241, 71%, 23%)
HSVhsv(241, 83%, 40%)
CMYKcmyk(81.4%, 83.3%, 0%, 60%)
CIE-LABlab(12.60, 32.37, -48.43)
CIE-LCHlch(12.60, 58.25, 303.76°)
OKLaboklab(26.06% 0.0049 -0.1402)
OKLCHoklch(26.06% 0.14 272)
XYZxyz(2.8665, 1.4983, 12.7059)
Luminance0.0150 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131166 #646611
analogous
#113966 #131166 #3D1166
triadic
#131166 #661311 #116613
tetradic
#131166 #661139 #646611 #11663D
square
#131166 #661139 #646611 #11663D
split-complementary
#131166 #663D11 #396611
monochromatic
#05041A #090832 #131166 #1D1A9A #2722CF

Accessibility & contrast

On white

16.16
#131166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#131166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131166
16.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131166#FFFFFF#000000##FFFFFF
##1311661.0016.161.3016.16
#FFFFFF16.161.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002568
Deuteranopia (green-blind)
#001C65
Tritanopia (blue-blind)
#002B3B
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #131166;
/* rgb */ color: rgb(19, 17, 102);
/* oklch */ color: oklch(26.1% 0.140 272.0);
Tailwind
colors: {
  custom: {
    50: '#625193',
    500: '#131166',
    950: '#000000',
  },
}
SCSS
$custom: #131166;
$custom-light: #625193;
$custom-dark: #000000;
JSON
{
  "hex": "#131166",
  "rgb": {
    "r": 19,
    "g": 17,
    "b": 102
  },
  "hsl": {
    "h": 241.412,
    "s": 71.429,
    "l": 23.333
  },
  "oklch": {
    "l": 0.26056,
    "c": 0.14025,
    "h": 272
  },
  "luminance": 0.01499
}

Semantic roles & 50–950 ramp

primary
#131166
secondary
#9C9E35
accent
#EE3AEA
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #131166

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

Preview Lab → · Contrast checker → · Palette generator →

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