#131F38#131F38

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

Color values

HEX#131F38
RGBrgb(19, 31, 56)
HSLhsl(221, 49%, 15%)
HSVhsv(221, 66%, 22%)
CMYKcmyk(66.1%, 44.6%, 0%, 78%)
CIE-LABlab(11.98, 4.02, -17.87)
CIE-LCHlch(11.98, 18.32, 282.67°)
OKLaboklab(24.25% -0.0056 -0.0506)
OKLCHoklch(24.25% 0.051 263.6)
XYZxyz(1.4721, 1.4038, 3.9340)
Luminance0.0140 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131F38 #382C13
analogous
#133238 #131F38 #1A1338
triadic
#131F38 #38131F #1F3813
tetradic
#131F38 #381332 #382C13 #13381A
square
#131F38 #381332 #382C13 #13381A
split-complementary
#131F38 #381A13 #323813
monochromatic
#080D17 #080D17 #131F38 #233866 #325293

Accessibility & contrast

On white

16.40
#131F38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #131F38
16.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131F38#FFFFFF#000000##FFFFFF
##131F381.0016.401.2816.40
#FFFFFF16.401.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152139
Deuteranopia (green-blind)
#101E37
Tritanopia (blue-blind)
#002528
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #131f38;
/* rgb */ color: rgb(19, 31, 56);
/* oklch */ color: oklch(24.3% 0.051 263.6);
Tailwind
colors: {
  custom: {
    50: '#545a6e',
    500: '#131f38',
    950: '#000000',
  },
}
SCSS
$custom: #131f38;
$custom-light: #545a6e;
$custom-dark: #000000;
JSON
{
  "hex": "#131f38",
  "rgb": {
    "r": 19,
    "g": 31,
    "b": 56
  },
  "hsl": {
    "h": 220.541,
    "s": 49.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.24254,
    "c": 0.05096,
    "h": 263.6
  },
  "luminance": 0.01404
}

Semantic roles & 50–950 ramp

primary
#131F38
secondary
#705E37
accent
#AC4FD9
background
#F5F5F6
surface
#E8E9EC
border
#C4C5C7
text
#030307
muted
#78787A

Preview Lab

Preview with #131F38

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

Preview Lab → · Contrast checker → · Palette generator →

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