#131A57#131A57

#131A57 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.8% C 0.109 H 271.3°. Best body text is #FFFFFF at 15.99:1 contrast (WCAG AA passes).

Color values

HEX#131A57
RGBrgb(19, 26, 87)
HSLhsl(234, 64%, 21%)
HSVhsv(234, 78%, 34%)
CMYKcmyk(78.2%, 70.1%, 0%, 65.9%)
CIE-LABlab(13.02, 20.75, -37.71)
CIE-LCHlch(13.02, 43.04, 298.82°)
OKLaboklab(25.85% 0.0024 -0.109)
OKLCHoklch(25.85% 0.109 271.3)
XYZxyz(2.3577, 1.5651, 9.1928)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131A57 #575013
analogous
#133C57 #131A57 #2E1357
triadic
#131A57 #57131A #1A5713
tetradic
#131A57 #57133C #575013 #13572E
square
#131A57 #57133C #575013 #13572E
split-complementary
#131A57 #572E13 #3C5713
monochromatic
#050819 #080B25 #131A57 #1E2989 #2938BB

Accessibility & contrast

On white

15.99
#131A57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#131A57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131A57
15.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131A57#FFFFFF#000000##FFFFFF
##131A571.0015.991.3115.99
#FFFFFF15.991.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002559
Deuteranopia (green-blind)
#001E56
Tritanopia (blue-blind)
#002A35
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #131a57;
/* rgb */ color: rgb(19, 26, 87);
/* oklch */ color: oklch(25.8% 0.109 271.3);
Tailwind
colors: {
  custom: {
    50: '#5d5687',
    500: '#131a57',
    950: '#000000',
  },
}
SCSS
$custom: #131a57;
$custom-light: #5d5687;
$custom-dark: #000000;
JSON
{
  "hex": "#131a57",
  "rgb": {
    "r": 19,
    "g": 26,
    "b": 87
  },
  "hsl": {
    "h": 233.824,
    "s": 64.151,
    "l": 20.784
  },
  "oklch": {
    "l": 0.25847,
    "c": 0.10902,
    "h": 271.3
  },
  "luminance": 0.01565
}

Semantic roles & 50–950 ramp

primary
#131A57
secondary
#8F8636
accent
#D641E7
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#05030B
muted
#79787C

Preview Lab

Preview with #131A57

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

Preview Lab → · Contrast checker → · Palette generator →

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