#131D54#131D54

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

Color values

HEX#131D54
RGBrgb(19, 29, 84)
HSLhsl(231, 63%, 20%)
HSVhsv(231, 77%, 33%)
CMYKcmyk(77.4%, 65.5%, 0%, 67.1%)
CIE-LABlab(13.57, 17.31, -34.77)
CIE-LCHlch(13.57, 38.84, 296.47°)
OKLaboklab(26.17% 0.0001 -0.1003)
OKLCHoklch(26.17% 0.1 270.1)
XYZxyz(2.3076, 1.6570, 8.5840)
Luminance0.0166 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131D54 #544A13
analogous
#133E54 #131D54 #291354
triadic
#131D54 #54131D #1D5413
tetradic
#131D54 #54133E #544A13 #135429
square
#131D54 #54133E #544A13 #135429
split-complementary
#131D54 #542913 #3E5413
monochromatic
#060919 #080C22 #131D54 #1E2E86 #2A3FB8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##131D54#FFFFFF#000000##FFFFFF
##131D541.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)
#002656
Deuteranopia (green-blind)
#002053
Tritanopia (blue-blind)
#002B35
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #131d54;
/* rgb */ color: rgb(19, 29, 84);
/* oklch */ color: oklch(26.2% 0.100 270.1);
Tailwind
colors: {
  custom: {
    50: '#5b5885',
    500: '#131d54',
    950: '#000000',
  },
}
SCSS
$custom: #131d54;
$custom-light: #5b5885;
$custom-dark: #000000;
JSON
{
  "hex": "#131d54",
  "rgb": {
    "r": 19,
    "g": 29,
    "b": 84
  },
  "hsl": {
    "h": 230.769,
    "s": 63.107,
    "l": 20.196
  },
  "oklch": {
    "l": 0.26168,
    "c": 0.10033,
    "h": 270.1
  },
  "luminance": 0.01657
}

Semantic roles & 50–950 ramp

primary
#131D54
secondary
#8C7F36
accent
#CD42E6
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #131D54

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

Preview Lab → · Contrast checker → · Palette generator →

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