#131F41#131F41

#131F41 is a very dark, moderate blue. Relative luminance 0.015; OKLCH L 24.9% C 0.066 H 266.9°. Best body text is #FFFFFF at 16.15:1 contrast (WCAG AA passes).

Color values

HEX#131F41
RGBrgb(19, 31, 65)
HSLhsl(224, 55%, 16%)
HSVhsv(224, 71%, 25%)
CMYKcmyk(70.8%, 52.3%, 0%, 74.5%)
CIE-LABlab(12.61, 7.77, -23.24)
CIE-LCHlch(12.61, 24.50, 288.49°)
OKLaboklab(24.94% -0.0036 -0.0664)
OKLCHoklch(24.94% 0.066 266.9)
XYZxyz(1.7124, 1.4999, 5.1993)
Luminance0.0150 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131F41 #413513
analogous
#133641 #131F41 #1E1341
triadic
#131F41 #41131F #1F4113
tetradic
#131F41 #411336 #413513 #13411E
square
#131F41 #411336 #413513 #13411E
split-complementary
#131F41 #411E13 #364113
monochromatic
#070B18 #070B18 #131F41 #213670 #2F4CA0

Accessibility & contrast

On white

16.15
#131F41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#131F41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131F41
16.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131F41#FFFFFF#000000##FFFFFF
##131F411.0016.151.3016.15
#FFFFFF16.151.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F2342
Deuteranopia (green-blind)
#071F40
Tritanopia (blue-blind)
#00272C
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #131f41;
/* rgb */ color: rgb(19, 31, 65);
/* oklch */ color: oklch(24.9% 0.066 266.9);
Tailwind
colors: {
  custom: {
    50: '#565a76',
    500: '#131f41',
    950: '#000000',
  },
}
SCSS
$custom: #131f41;
$custom-light: #565a76;
$custom-dark: #000000;
JSON
{
  "hex": "#131f41",
  "rgb": {
    "r": 19,
    "g": 31,
    "b": 65
  },
  "hsl": {
    "h": 224.348,
    "s": 54.762,
    "l": 16.471
  },
  "oklch": {
    "l": 0.24937,
    "c": 0.06648,
    "h": 266.9
  },
  "luminance": 0.015
}

Semantic roles & 50–950 ramp

primary
#131F41
secondary
#7A6836
accent
#B74ADE
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030308
muted
#78787B

Preview Lab

Preview with #131F41

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

Preview Lab → · Contrast checker → · Palette generator →

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