#131F55#131F55

#131F55 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.7% C 0.099 H 269.1°. Best body text is #FFFFFF at 15.50:1 contrast (WCAG AA passes).

Color values

HEX#131F55
RGBrgb(19, 31, 85)
HSLhsl(229, 63%, 20%)
HSVhsv(229, 78%, 33%)
CMYKcmyk(77.6%, 63.5%, 0%, 66.7%)
CIE-LABlab(14.25, 16.24, -34.34)
CIE-LCHlch(14.25, 37.98, 295.31°)
OKLaboklab(26.7% -0.0016 -0.099)
OKLCHoklch(26.7% 0.099 269.1)
XYZxyz(2.3977, 1.7741, 8.8086)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131F55 #554913
analogous
#134055 #131F55 #281355
triadic
#131F55 #55131F #1F5513
tetradic
#131F55 #551340 #554913 #135528
square
#131F55 #551340 #554913 #135528
split-complementary
#131F55 #552813 #405513
monochromatic
#060919 #080D23 #131F55 #1E3187 #2943B9

Accessibility & contrast

On white

15.50
#131F55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #131F55
15.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131F55#FFFFFF#000000##FFFFFF
##131F551.0015.501.3515.50
#FFFFFF15.501.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #131f55;
/* rgb */ color: rgb(19, 31, 85);
/* oklch */ color: oklch(26.7% 0.099 269.1);
Tailwind
colors: {
  custom: {
    50: '#5b5a85',
    500: '#131f55',
    950: '#000000',
  },
}
SCSS
$custom: #131f55;
$custom-light: #5b5a85;
$custom-dark: #000000;
JSON
{
  "hex": "#131f55",
  "rgb": {
    "r": 19,
    "g": 31,
    "b": 85
  },
  "hsl": {
    "h": 229.091,
    "s": 63.462,
    "l": 20.392
  },
  "oklch": {
    "l": 0.26702,
    "c": 0.09904,
    "h": 269.1
  },
  "luminance": 0.01774
}

Semantic roles & 50–950 ramp

primary
#131F55
secondary
#8D7E36
accent
#C841E6
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #131F55

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

Preview Lab → · Contrast checker → · Palette generator →

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