#131B39#131B39

#131B39 is a very dark, muted blue. Relative luminance 0.012; OKLCH L 23.3% C 0.059 H 270.1°. Best body text is #FFFFFF at 16.89:1 contrast (WCAG AA passes).

Color values

HEX#131B39
RGBrgb(19, 27, 57)
HSLhsl(227, 50%, 15%)
HSVhsv(227, 67%, 22%)
CMYKcmyk(66.7%, 52.6%, 0%, 77.6%)
CIE-LABlab(10.69, 7.50, -20.65)
CIE-LCHlch(10.69, 21.97, 289.97°)
OKLaboklab(23.28% 0.0001 -0.0588)
OKLCHoklch(23.28% 0.059 270.1)
XYZxyz(1.3988, 1.2176, 4.0314)
Luminance0.0122 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131B39 #393113
analogous
#132E39 #131B39 #1E1339
triadic
#131B39 #39131B #1B3913
tetradic
#131B39 #39132E #393113 #13391E
square
#131B39 #39132E #393113 #13391E
split-complementary
#131B39 #391E13 #2E3913
monochromatic
#080B17 #080B17 #131B39 #223167 #324695

Accessibility & contrast

On white

16.89
#131B39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#131B39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131B39
16.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131B39#FFFFFF#000000##FFFFFF
##131B391.0016.891.2416.89
#FFFFFF16.891.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D1F3A
Deuteranopia (green-blind)
#081B38
Tritanopia (blue-blind)
#002227
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #131b39;
/* rgb */ color: rgb(19, 27, 57);
/* oklch */ color: oklch(23.3% 0.059 270.1);
Tailwind
colors: {
  custom: {
    50: '#55566f',
    500: '#131b39',
    950: '#000000',
  },
}
SCSS
$custom: #131b39;
$custom-light: #55566f;
$custom-dark: #000000;
JSON
{
  "hex": "#131b39",
  "rgb": {
    "r": 19,
    "g": 27,
    "b": 57
  },
  "hsl": {
    "h": 227.368,
    "s": 50,
    "l": 14.902
  },
  "oklch": {
    "l": 0.23279,
    "c": 0.05884,
    "h": 270.1
  },
  "luminance": 0.01218
}

Semantic roles & 50–950 ramp

primary
#131B39
secondary
#716537
accent
#BC4EDA
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#030307
muted
#78787A

Preview Lab

Preview with #131B39

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

Preview Lab → · Contrast checker → · Palette generator →

#131B39 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva