#131F39#131F39

#131F39 is a very dark, muted blue. Relative luminance 0.014; OKLCH L 24.3% C 0.053 H 264.2°. Best body text is #FFFFFF at 16.37:1 contrast (WCAG AA passes).

Color values

HEX#131F39
RGBrgb(19, 31, 57)
HSLhsl(221, 50%, 15%)
HSVhsv(221, 67%, 22%)
CMYKcmyk(66.7%, 45.6%, 0%, 77.6%)
CIE-LABlab(12.05, 4.43, -18.48)
CIE-LCHlch(12.05, 19.00, 283.48°)
OKLaboklab(24.33% -0.0054 -0.0524)
OKLCHoklch(24.33% 0.053 264.2)
XYZxyz(1.4968, 1.4137, 4.0641)
Luminance0.0141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131F39 #392D13
analogous
#133239 #131F39 #1A1339
triadic
#131F39 #39131F #1F3913
tetradic
#131F39 #391332 #392D13 #13391A
square
#131F39 #391332 #392D13 #13391A
split-complementary
#131F39 #391A13 #323913
monochromatic
#080C17 #080C17 #131F39 #223867 #325195

Accessibility & contrast

On white

16.37
#131F39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#131F39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131F39
16.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131F39#FFFFFF#000000##FFFFFF
##131F391.0016.371.2816.37
#FFFFFF16.371.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14213A
Deuteranopia (green-blind)
#0F1E38
Tritanopia (blue-blind)
#002529
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #131f39;
/* rgb */ color: rgb(19, 31, 57);
/* oklch */ color: oklch(24.3% 0.053 264.2);
Tailwind
colors: {
  custom: {
    50: '#545a6f',
    500: '#131f39',
    950: '#000000',
  },
}
SCSS
$custom: #131f39;
$custom-light: #545a6f;
$custom-dark: #000000;
JSON
{
  "hex": "#131f39",
  "rgb": {
    "r": 19,
    "g": 31,
    "b": 57
  },
  "hsl": {
    "h": 221.053,
    "s": 50,
    "l": 14.902
  },
  "oklch": {
    "l": 0.24326,
    "c": 0.0527,
    "h": 264.2
  },
  "luminance": 0.01414
}

Semantic roles & 50–950 ramp

primary
#131F39
secondary
#715F37
accent
#AE4EDA
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#030307
muted
#78787A

Preview Lab

Preview with #131F39

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

Preview Lab → · Contrast checker → · Palette generator →

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