#131154#131154

#131154 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.9% C 0.116 H 274.4°. Best body text is #FFFFFF at 16.99:1 contrast (WCAG AA passes).

Color values

HEX#131154
RGBrgb(19, 17, 84)
HSLhsl(242, 66%, 20%)
HSVhsv(242, 80%, 33%)
CMYKcmyk(77.4%, 79.8%, 0%, 67.1%)
CIE-LABlab(10.40, 25.80, -39.97)
CIE-LCHlch(10.40, 47.57, 302.84°)
OKLaboklab(23.86% 0.009 -0.1156)
OKLCHoklch(23.86% 0.116 274.4)
XYZxyz(2.0687, 1.1792, 8.5044)
Luminance0.0118 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131154 #525411
analogous
#113154 #131154 #351154
triadic
#131154 #541311 #115413
tetradic
#131154 #541131 #525411 #115435
square
#131154 #541131 #525411 #115435
split-complementary
#131154 #543511 #315411
monochromatic
#060519 #070721 #131154 #1F1B87 #2A26BA

Accessibility & contrast

On white

16.99
#131154 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#131154 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131154
16.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131154#FFFFFF#000000##FFFFFF
##1311541.0016.991.2416.99
#FFFFFF16.991.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F56
Deuteranopia (green-blind)
#001953
Tritanopia (blue-blind)
#002431
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #131154;
/* rgb */ color: rgb(19, 17, 84);
/* oklch */ color: oklch(23.9% 0.116 274.4);
Tailwind
colors: {
  custom: {
    50: '#5d5085',
    500: '#131154',
    950: '#000000',
  },
}
SCSS
$custom: #131154;
$custom-light: #5d5085;
$custom-dark: #000000;
JSON
{
  "hex": "#131154",
  "rgb": {
    "r": 19,
    "g": 17,
    "b": 84
  },
  "hsl": {
    "h": 241.791,
    "s": 66.337,
    "l": 19.804
  },
  "oklch": {
    "l": 0.23863,
    "c": 0.11593,
    "h": 274.4
  },
  "luminance": 0.01179
}

Semantic roles & 50–950 ramp

primary
#131154
secondary
#8A8D34
accent
#E93FE4
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #131154

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

Preview Lab → · Contrast checker → · Palette generator →

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