#131F34#131F34

#131F34 is a very dark, muted blue. Relative luminance 0.014; OKLCH L 24.0% C 0.044 H 261.0°. Best body text is #FFFFFF at 16.49:1 contrast (WCAG AA passes).

Color values

HEX#131F34
RGBrgb(19, 31, 52)
HSLhsl(218, 46%, 14%)
HSVhsv(218, 63%, 20%)
CMYKcmyk(63.5%, 40.4%, 0%, 79.6%)
CIE-LABlab(11.73, 2.40, -15.41)
CIE-LCHlch(11.73, 15.59, 278.84°)
OKLaboklab(23.98% -0.0068 -0.0435)
OKLCHoklch(23.98% 0.044 261)
XYZxyz(1.3782, 1.3662, 3.4392)
Luminance0.0137 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131F34 #342813
analogous
#133034 #131F34 #181334
triadic
#131F34 #34131F #1F3413
tetradic
#131F34 #341330 #342813 #133418
square
#131F34 #341330 #342813 #133418
split-complementary
#131F34 #341813 #303413
monochromatic
#080D16 #080D16 #131F34 #233A61 #34548E

Accessibility & contrast

On white

16.49
#131F34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#131F34 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131F34
16.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131F34#FFFFFF#000000##FFFFFF
##131F341.0016.491.2716.49
#FFFFFF16.491.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172135
Deuteranopia (green-blind)
#131E34
Tritanopia (blue-blind)
#032427
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #131f34;
/* rgb */ color: rgb(19, 31, 52);
/* oklch */ color: oklch(24.0% 0.044 261.0);
Tailwind
colors: {
  custom: {
    50: '#535a6b',
    500: '#131f34',
    950: '#000000',
  },
}
SCSS
$custom: #131f34;
$custom-light: #535a6b;
$custom-dark: #000000;
JSON
{
  "hex": "#131f34",
  "rgb": {
    "r": 19,
    "g": 31,
    "b": 52
  },
  "hsl": {
    "h": 218.182,
    "s": 46.479,
    "l": 13.922
  },
  "oklch": {
    "l": 0.23976,
    "c": 0.04401,
    "h": 261
  },
  "luminance": 0.01366
}

Semantic roles & 50–950 ramp

primary
#131F34
secondary
#6C5937
accent
#A652D6
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#030306
muted
#78787A

Preview Lab

Preview with #131F34

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

Preview Lab → · Contrast checker → · Palette generator →

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