#131B56#131B56

#131B56 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.9% C 0.106 H 270.9°. Best body text is #FFFFFF at 15.92:1 contrast (WCAG AA passes).

Color values

HEX#131B56
RGBrgb(19, 27, 86)
HSLhsl(233, 64%, 21%)
HSVhsv(233, 78%, 34%)
CMYKcmyk(77.9%, 68.6%, 0%, 66.3%)
CIE-LABlab(13.19, 19.61, -36.74)
CIE-LCHlch(13.19, 41.65, 298.09°)
OKLaboklab(25.95% 0.0017 -0.1061)
OKLCHoklch(25.95% 0.106 270.9)
XYZxyz(2.3396, 1.5940, 8.9867)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131B56 #564E13
analogous
#133C56 #131B56 #2C1356
triadic
#131B56 #56131B #1B5613
tetradic
#131B56 #56133C #564E13 #13562C
square
#131B56 #56133C #564E13 #13562C
split-complementary
#131B56 #562C13 #3C5613
monochromatic
#060819 #080B24 #131B56 #1E2B88 #293ABA

Accessibility & contrast

On white

15.92
#131B56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#131B56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131B56
15.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131B56#FFFFFF#000000##FFFFFF
##131B561.0015.921.3215.92
#FFFFFF15.921.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #131b56;
/* rgb */ color: rgb(19, 27, 86);
/* oklch */ color: oklch(25.9% 0.106 270.9);
Tailwind
colors: {
  custom: {
    50: '#5c5786',
    500: '#131b56',
    950: '#000000',
  },
}
SCSS
$custom: #131b56;
$custom-light: #5c5786;
$custom-dark: #000000;
JSON
{
  "hex": "#131b56",
  "rgb": {
    "r": 19,
    "g": 27,
    "b": 86
  },
  "hsl": {
    "h": 232.836,
    "s": 63.81,
    "l": 20.588
  },
  "oklch": {
    "l": 0.25946,
    "c": 0.10616,
    "h": 270.9
  },
  "luminance": 0.01594
}

Semantic roles & 50–950 ramp

primary
#131B56
secondary
#8E8436
accent
#D341E7
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#05030B
muted
#79787C

Preview Lab

Preview with #131B56

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

Preview Lab → · Contrast checker → · Palette generator →

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