#131F50#131F50

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

Color values

HEX#131F50
RGBrgb(19, 31, 80)
HSLhsl(228, 62%, 19%)
HSVhsv(228, 76%, 31%)
CMYKcmyk(76.3%, 61.2%, 0%, 68.6%)
CIE-LABlab(13.81, 14.13, -31.66)
CIE-LCHlch(13.81, 34.67, 294.04°)
OKLaboklab(26.23% -0.0018 -0.0912)
OKLCHoklch(26.23% 0.091 268.9)
XYZxyz(2.2060, 1.6974, 7.7992)
Luminance0.0170 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131F50 #504413
analogous
#133E50 #131F50 #261350
triadic
#131F50 #50131F #1F5013
tetradic
#131F50 #50133E #504413 #135026
square
#131F50 #50133E #504413 #135026
split-complementary
#131F50 #502613 #3E5013
monochromatic
#060A19 #070C1F #131F50 #1F3281 #2A45B3

Accessibility & contrast

On white

15.68
#131F50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#131F50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131F50
15.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131F50#FFFFFF#000000##FFFFFF
##131F501.0015.681.3415.68
#FFFFFF15.681.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002652
Deuteranopia (green-blind)
#00214F
Tritanopia (blue-blind)
#002B34
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #131f50;
/* rgb */ color: rgb(19, 31, 80);
/* oklch */ color: oklch(26.2% 0.091 268.9);
Tailwind
colors: {
  custom: {
    50: '#5a5a81',
    500: '#131f50',
    950: '#000000',
  },
}
SCSS
$custom: #131f50;
$custom-light: #5a5a81;
$custom-dark: #000000;
JSON
{
  "hex": "#131f50",
  "rgb": {
    "r": 19,
    "g": 31,
    "b": 80
  },
  "hsl": {
    "h": 228.197,
    "s": 61.616,
    "l": 19.412
  },
  "oklch": {
    "l": 0.26233,
    "c": 0.09119,
    "h": 268.9
  },
  "luminance": 0.01698
}

Semantic roles & 50–950 ramp

primary
#131F50
secondary
#897836
accent
#C543E5
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #131F50

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

Preview Lab → · Contrast checker → · Palette generator →

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