#131F3C#131F3C

#131F3C is a very dark, muted blue. Relative luminance 0.014; OKLCH L 24.5% C 0.058 H 265.4°. Best body text is #FFFFFF at 16.29:1 contrast (WCAG AA passes).

Color values

HEX#131F3C
RGBrgb(19, 31, 60)
HSLhsl(222, 52%, 15%)
HSVhsv(222, 68%, 24%)
CMYKcmyk(68.3%, 48.3%, 0%, 76.5%)
CIE-LABlab(12.25, 5.67, -20.29)
CIE-LCHlch(12.25, 21.06, 285.62°)
OKLaboklab(24.55% -0.0046 -0.0577)
OKLCHoklch(24.55% 0.058 265.4)
XYZxyz(1.5739, 1.4445, 4.4700)
Luminance0.0144 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131F3C #3C3013
analogous
#13333C #131F3C #1B133C
triadic
#131F3C #3C131F #1F3C13
tetradic
#131F3C #3C1333 #3C3013 #133C1B
square
#131F3C #3C1333 #3C3013 #133C1B
split-complementary
#131F3C #3C1B13 #333C13
monochromatic
#070C17 #070C17 #131F3C #22376A #304F99

Accessibility & contrast

On white

16.29
#131F3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#131F3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131F3C
16.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131F3C#FFFFFF#000000##FFFFFF
##131F3C1.0016.291.2916.29
#FFFFFF16.291.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12223D
Deuteranopia (green-blind)
#0D1E3B
Tritanopia (blue-blind)
#00252A
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #131f3c;
/* rgb */ color: rgb(19, 31, 60);
/* oklch */ color: oklch(24.5% 0.058 265.4);
Tailwind
colors: {
  custom: {
    50: '#555a72',
    500: '#131f3c',
    950: '#000000',
  },
}
SCSS
$custom: #131f3c;
$custom-light: #555a72;
$custom-dark: #000000;
JSON
{
  "hex": "#131f3c",
  "rgb": {
    "r": 19,
    "g": 31,
    "b": 60
  },
  "hsl": {
    "h": 222.439,
    "s": 51.899,
    "l": 15.49
  },
  "oklch": {
    "l": 0.24548,
    "c": 0.0579,
    "h": 265.4
  },
  "luminance": 0.01445
}

Semantic roles & 50–950 ramp

primary
#131F3C
secondary
#746236
accent
#B24CDB
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#030308
muted
#78787B

Preview Lab

Preview with #131F3C

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

Preview Lab → · Contrast checker → · Palette generator →

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