#131B4A#131B4A

#131B4A is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.8% C 0.087 H 271.2°. Best body text is #FFFFFF at 16.36:1 contrast (WCAG AA passes).

Color values

HEX#131B4A
RGBrgb(19, 27, 74)
HSLhsl(231, 59%, 18%)
HSVhsv(231, 74%, 29%)
CMYKcmyk(74.3%, 63.5%, 0%, 71%)
CIE-LABlab(12.07, 14.63, -30.37)
CIE-LCHlch(12.07, 33.71, 295.71°)
OKLaboklab(24.76% 0.0019 -0.0874)
OKLCHoklch(24.76% 0.087 271.2)
XYZxyz(1.8961, 1.4165, 6.6507)
Luminance0.0142 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131B4A #4A4213
analogous
#13364A #131B4A #26134A
triadic
#131B4A #4A131B #1B4A13
tetradic
#131B4A #4A1336 #4A4213 #134A26
square
#131B4A #4A1336 #4A4213 #134A26
split-complementary
#131B4A #4A2613 #364A13
monochromatic
#060918 #060919 #131B4A #202D7B #2C3FAB

Accessibility & contrast

On white

16.36
#131B4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #131B4A
16.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131B4A#FFFFFF#000000##FFFFFF
##131B4A1.0016.361.2816.36
#FFFFFF16.361.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224C
Deuteranopia (green-blind)
#001D49
Tritanopia (blue-blind)
#00262F
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #131b4a;
/* rgb */ color: rgb(19, 27, 74);
/* oklch */ color: oklch(24.8% 0.087 271.2);
Tailwind
colors: {
  custom: {
    50: '#59577d',
    500: '#131b4a',
    950: '#000000',
  },
}
SCSS
$custom: #131b4a;
$custom-light: #59577d;
$custom-dark: #000000;
JSON
{
  "hex": "#131b4a",
  "rgb": {
    "r": 19,
    "g": 27,
    "b": 74
  },
  "hsl": {
    "h": 231.273,
    "s": 59.14,
    "l": 18.235
  },
  "oklch": {
    "l": 0.24762,
    "c": 0.08746,
    "h": 271.2
  },
  "luminance": 0.01417
}

Semantic roles & 50–950 ramp

primary
#131B4A
secondary
#837836
accent
#CC45E2
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040309
muted
#79787B

Preview Lab

Preview with #131B4A

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

Preview Lab → · Contrast checker → · Palette generator →

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