#131F54#131F54

#131F54 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.6% C 0.097 H 269.0°. Best body text is #FFFFFF at 15.53:1 contrast (WCAG AA passes).

Color values

HEX#131F54
RGBrgb(19, 31, 84)
HSLhsl(229, 63%, 20%)
HSVhsv(229, 77%, 33%)
CMYKcmyk(77.4%, 63.1%, 0%, 67.1%)
CIE-LABlab(14.16, 15.81, -33.81)
CIE-LCHlch(14.16, 37.32, 295.07°)
OKLaboklab(26.61% -0.0017 -0.0975)
OKLCHoklch(26.61% 0.097 269)
XYZxyz(2.3582, 1.7583, 8.6009)
Luminance0.0176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131F54 #544813
analogous
#133F54 #131F54 #271354
triadic
#131F54 #54131F #1F5413
tetradic
#131F54 #54133F #544813 #135427
square
#131F54 #54133F #544813 #135427
split-complementary
#131F54 #542713 #3F5413
monochromatic
#060919 #080D22 #131F54 #1E3186 #2A44B8

Accessibility & contrast

On white

15.53
#131F54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#131F54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131F54
15.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131F54#FFFFFF#000000##FFFFFF
##131F541.0015.531.3515.53
#FFFFFF15.531.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002756
Deuteranopia (green-blind)
#002153
Tritanopia (blue-blind)
#002C36
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #131f54;
/* rgb */ color: rgb(19, 31, 84);
/* oklch */ color: oklch(26.6% 0.097 269.0);
Tailwind
colors: {
  custom: {
    50: '#5b5a85',
    500: '#131f54',
    950: '#000000',
  },
}
SCSS
$custom: #131f54;
$custom-light: #5b5a85;
$custom-dark: #000000;
JSON
{
  "hex": "#131f54",
  "rgb": {
    "r": 19,
    "g": 31,
    "b": 84
  },
  "hsl": {
    "h": 228.923,
    "s": 63.107,
    "l": 20.196
  },
  "oklch": {
    "l": 0.26607,
    "c": 0.09749,
    "h": 269
  },
  "luminance": 0.01759
}

Semantic roles & 50–950 ramp

primary
#131F54
secondary
#8C7D36
accent
#C842E6
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #131F54

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

Preview Lab → · Contrast checker → · Palette generator →

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