#131C54#131C54

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

Color values

HEX#131C54
RGBrgb(19, 28, 84)
HSLhsl(232, 63%, 20%)
HSVhsv(232, 77%, 33%)
CMYKcmyk(77.4%, 66.7%, 0%, 67.1%)
CIE-LABlab(13.28, 18.05, -35.24)
CIE-LCHlch(13.28, 39.60, 297.12°)
OKLaboklab(25.95% 0.001 -0.1017)
OKLCHoklch(25.95% 0.102 270.5)
XYZxyz(2.2835, 1.6088, 8.5760)
Luminance0.0161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131C54 #544B13
analogous
#133D54 #131C54 #2A1354
triadic
#131C54 #54131C #1C5413
tetradic
#131C54 #54133D #544B13 #13542A
square
#131C54 #54133D #544B13 #13542A
split-complementary
#131C54 #542A13 #3D5413
monochromatic
#060819 #080B22 #131C54 #1E2D86 #2A3DB8

Accessibility & contrast

On white

15.89
#131C54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #131C54
15.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131C54#FFFFFF#000000##FFFFFF
##131C541.0015.891.3215.89
#FFFFFF15.891.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #131c54;
/* rgb */ color: rgb(19, 28, 84);
/* oklch */ color: oklch(26.0% 0.102 270.5);
Tailwind
colors: {
  custom: {
    50: '#5b5885',
    500: '#131c54',
    950: '#000000',
  },
}
SCSS
$custom: #131c54;
$custom-light: #5b5885;
$custom-dark: #000000;
JSON
{
  "hex": "#131c54",
  "rgb": {
    "r": 19,
    "g": 28,
    "b": 84
  },
  "hsl": {
    "h": 231.692,
    "s": 63.107,
    "l": 20.196
  },
  "oklch": {
    "l": 0.25953,
    "c": 0.10173,
    "h": 270.5
  },
  "luminance": 0.01609
}

Semantic roles & 50–950 ramp

primary
#131C54
secondary
#8C8136
accent
#CF42E6
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #131C54

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

Preview Lab → · Contrast checker → · Palette generator →

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