#131B5A#131B5A

#131B5A is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.4% C 0.112 H 270.7°. Best body text is #FFFFFF at 15.77:1 contrast (WCAG AA passes).

Color values

HEX#131B5A
RGBrgb(19, 27, 90)
HSLhsl(233, 65%, 21%)
HSVhsv(233, 79%, 35%)
CMYKcmyk(78.9%, 70%, 0%, 64.7%)
CIE-LABlab(13.59, 21.25, -38.79)
CIE-LCHlch(13.59, 44.23, 298.72°)
OKLaboklab(26.36% 0.0014 -0.1121)
OKLCHoklch(26.36% 0.112 270.7)
XYZxyz(2.5053, 1.6602, 9.8593)
Luminance0.0166 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131B5A #5A5213
analogous
#133F5A #131B5A #2F135A
triadic
#131B5A #5A131B #1B5A13
tetradic
#131B5A #5A133F #5A5213 #135A2F
square
#131B5A #5A133F #5A5213 #135A2F
split-complementary
#131B5A #5A2F13 #3F5A13
monochromatic
#050819 #080C27 #131B5A #1E2A8D #2839BF

Accessibility & contrast

On white

15.77
#131B5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#131B5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131B5A
15.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131B5A#FFFFFF#000000##FFFFFF
##131B5A1.0015.771.3315.77
#FFFFFF15.771.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265C
Deuteranopia (green-blind)
#001F59
Tritanopia (blue-blind)
#002C37
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #131b5a;
/* rgb */ color: rgb(19, 27, 90);
/* oklch */ color: oklch(26.4% 0.112 270.7);
Tailwind
colors: {
  custom: {
    50: '#5d5789',
    500: '#131b5a',
    950: '#000000',
  },
}
SCSS
$custom: #131b5a;
$custom-light: #5d5789;
$custom-dark: #000000;
JSON
{
  "hex": "#131b5a",
  "rgb": {
    "r": 19,
    "g": 27,
    "b": 90
  },
  "hsl": {
    "h": 233.239,
    "s": 65.138,
    "l": 21.373
  },
  "oklch": {
    "l": 0.26362,
    "c": 0.11214,
    "h": 270.7
  },
  "luminance": 0.0166
}

Semantic roles & 50–950 ramp

primary
#131B5A
secondary
#928837
accent
#D540E8
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #131B5A

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

Preview Lab → · Contrast checker → · Palette generator →

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