#131B3A#131B3A

#131B3A is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.4% C 0.061 H 270.3°. Best body text is #FFFFFF at 16.86:1 contrast (WCAG AA passes).

Color values

HEX#131B3A
RGBrgb(19, 27, 58)
HSLhsl(228, 51%, 15%)
HSVhsv(228, 67%, 23%)
CMYKcmyk(67.2%, 53.4%, 0%, 77.3%)
CIE-LABlab(10.76, 7.92, -21.24)
CIE-LCHlch(10.76, 22.67, 290.44°)
OKLaboklab(23.36% 0.0003 -0.0606)
OKLCHoklch(23.36% 0.061 270.3)
XYZxyz(1.4240, 1.2277, 4.1641)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131B3A #3A3213
analogous
#132F3A #131B3A #1E133A
triadic
#131B3A #3A131B #1B3A13
tetradic
#131B3A #3A132F #3A3213 #133A1E
square
#131B3A #3A132F #3A3213 #133A1E
split-complementary
#131B3A #3A1E13 #2F3A13
monochromatic
#080B17 #080B17 #131B3A #223068 #314696

Accessibility & contrast

On white

16.86
#131B3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#131B3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131B3A
16.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131B3A#FFFFFF#000000##FFFFFF
##131B3A1.0016.861.2516.86
#FFFFFF16.861.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D1F3B
Deuteranopia (green-blind)
#071B39
Tritanopia (blue-blind)
#002227
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #131b3a;
/* rgb */ color: rgb(19, 27, 58);
/* oklch */ color: oklch(23.4% 0.061 270.3);
Tailwind
colors: {
  custom: {
    50: '#555670',
    500: '#131b3a',
    950: '#000000',
  },
}
SCSS
$custom: #131b3a;
$custom-light: #555670;
$custom-dark: #000000;
JSON
{
  "hex": "#131b3a",
  "rgb": {
    "r": 19,
    "g": 27,
    "b": 58
  },
  "hsl": {
    "h": 227.692,
    "s": 50.649,
    "l": 15.098
  },
  "oklch": {
    "l": 0.23359,
    "c": 0.06059,
    "h": 270.3
  },
  "luminance": 0.01228
}

Semantic roles & 50–950 ramp

primary
#131B3A
secondary
#726636
accent
#BD4EDA
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#030307
muted
#78787A

Preview Lab

Preview with #131B3A

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

Preview Lab → · Contrast checker → · Palette generator →

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