#131566#131566

#131566 is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.6% C 0.136 H 271.4°. Best body text is #FFFFFF at 15.83:1 contrast (WCAG AA passes).

Color values

HEX#131566
RGBrgb(19, 21, 102)
HSLhsl(239, 69%, 24%)
HSVhsv(239, 81%, 40%)
CMYKcmyk(81.4%, 79.4%, 0%, 60%)
CIE-LABlab(13.43, 29.98, -47.04)
CIE-LCHlch(13.43, 55.78, 302.51°)
OKLaboklab(26.65% 0.0033 -0.1362)
OKLCHoklch(26.65% 0.136 271.4)
XYZxyz(2.9342, 1.6338, 12.7285)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131566 #666413
analogous
#133E66 #131566 #3A1366
triadic
#131566 #661315 #156613
tetradic
#131566 #66133E #666413 #13663A
square
#131566 #66133E #666413 #13663A
split-complementary
#131566 #663A13 #3E6613
monochromatic
#05051A #090A32 #131566 #1D209A #262ACD

Accessibility & contrast

On white

15.83
#131566 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#131566 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131566
15.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131566#FFFFFF#000000##FFFFFF
##1315661.0015.831.3315.83
#FFFFFF15.831.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002668
Deuteranopia (green-blind)
#001E65
Tritanopia (blue-blind)
#002D3C
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #131566;
/* rgb */ color: rgb(19, 21, 102);
/* oklch */ color: oklch(26.6% 0.136 271.4);
Tailwind
colors: {
  custom: {
    50: '#615393',
    500: '#131566',
    950: '#000000',
  },
}
SCSS
$custom: #131566;
$custom-light: #615393;
$custom-dark: #000000;
JSON
{
  "hex": "#131566",
  "rgb": {
    "r": 19,
    "g": 21,
    "b": 102
  },
  "hsl": {
    "h": 238.554,
    "s": 68.595,
    "l": 23.725
  },
  "oklch": {
    "l": 0.26646,
    "c": 0.13624,
    "h": 271.4
  },
  "luminance": 0.01634
}

Semantic roles & 50–950 ramp

primary
#131566
secondary
#9D9B37
accent
#E73CEB
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #131566

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

Preview Lab → · Contrast checker → · Palette generator →

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