#131541#131541

#131541 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.6% C 0.082 H 275.7°. Best body text is #FFFFFF at 17.34:1 contrast (WCAG AA passes).

Color values

HEX#131541
RGBrgb(19, 21, 65)
HSLhsl(237, 55%, 16%)
HSVhsv(237, 71%, 25%)
CMYKcmyk(70.8%, 67.7%, 0%, 74.5%)
CIE-LABlab(9.45, 15.44, -28.33)
CIE-LCHlch(9.45, 32.27, 298.60°)
OKLaboklab(22.56% 0.0081 -0.0815)
OKLCHoklch(22.56% 0.082 275.7)
XYZxyz(1.4905, 1.0563, 5.1253)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131541 #413F13
analogous
#132C41 #131541 #281341
triadic
#131541 #411315 #154113
tetradic
#131541 #41132C #413F13 #134128
square
#131541 #41132C #413F13 #134128
split-complementary
#131541 #412813 #2C4113
monochromatic
#070818 #070818 #131541 #212470 #2F34A0

Accessibility & contrast

On white

17.34
#131541 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#131541 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131541
17.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131541#FFFFFF#000000##FFFFFF
##1315411.0017.341.2117.34
#FFFFFF17.341.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C42
Deuteranopia (green-blind)
#001840
Tritanopia (blue-blind)
#002028
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #131541;
/* rgb */ color: rgb(19, 21, 65);
/* oklch */ color: oklch(22.6% 0.082 275.7);
Tailwind
colors: {
  custom: {
    50: '#575276',
    500: '#131541',
    950: '#000000',
  },
}
SCSS
$custom: #131541;
$custom-light: #575276;
$custom-dark: #000000;
JSON
{
  "hex": "#131541",
  "rgb": {
    "r": 19,
    "g": 21,
    "b": 65
  },
  "hsl": {
    "h": 237.391,
    "s": 54.762,
    "l": 16.471
  },
  "oklch": {
    "l": 0.22562,
    "c": 0.08191,
    "h": 275.7
  },
  "luminance": 0.01056
}

Semantic roles & 50–950 ramp

primary
#131541
secondary
#7A7736
accent
#D84ADE
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #131541

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

Preview Lab → · Contrast checker → · Palette generator →

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