#131C56#131C56

#131C56 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 26.2% C 0.105 H 270.5°. Best body text is #FFFFFF at 15.81:1 contrast (WCAG AA passes).

Color values

HEX#131C56
RGBrgb(19, 28, 86)
HSLhsl(232, 64%, 21%)
HSVhsv(232, 78%, 34%)
CMYKcmyk(77.9%, 67.4%, 0%, 66.3%)
CIE-LABlab(13.48, 18.88, -36.28)
CIE-LCHlch(13.48, 40.90, 297.49°)
OKLaboklab(26.15% 0.0009 -0.1048)
OKLCHoklch(26.15% 0.105 270.5)
XYZxyz(2.3630, 1.6406, 8.9944)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131C56 #564D13
analogous
#133D56 #131C56 #2B1356
triadic
#131C56 #56131C #1C5613
tetradic
#131C56 #56133D #564D13 #13562B
square
#131C56 #56133D #564D13 #13562B
split-complementary
#131C56 #562B13 #3D5613
monochromatic
#060819 #080C24 #131C56 #1E2C88 #293DBA

Accessibility & contrast

On white

15.81
#131C56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #131C56
15.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131C56#FFFFFF#000000##FFFFFF
##131C561.0015.811.3315.81
#FFFFFF15.811.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002658
Deuteranopia (green-blind)
#001F55
Tritanopia (blue-blind)
#002B36
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #131c56;
/* rgb */ color: rgb(19, 28, 86);
/* oklch */ color: oklch(26.2% 0.105 270.5);
Tailwind
colors: {
  custom: {
    50: '#5c5886',
    500: '#131c56',
    950: '#000000',
  },
}
SCSS
$custom: #131c56;
$custom-light: #5c5886;
$custom-dark: #000000;
JSON
{
  "hex": "#131c56",
  "rgb": {
    "r": 19,
    "g": 28,
    "b": 86
  },
  "hsl": {
    "h": 231.94,
    "s": 63.81,
    "l": 20.588
  },
  "oklch": {
    "l": 0.26154,
    "c": 0.10479,
    "h": 270.5
  },
  "luminance": 0.01641
}

Semantic roles & 50–950 ramp

primary
#131C56
secondary
#8E8336
accent
#D141E7
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#05030B
muted
#79787C

Preview Lab

Preview with #131C56

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

Preview Lab → · Contrast checker → · Palette generator →

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