#131F5B#131F5B

#131F5B is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.3% C 0.108 H 269.1°. Best body text is #FFFFFF at 15.27:1 contrast (WCAG AA passes).

Color values

HEX#131F5B
RGBrgb(19, 31, 91)
HSLhsl(230, 65%, 22%)
HSVhsv(230, 79%, 36%)
CMYKcmyk(79.1%, 65.9%, 0%, 64.3%)
CIE-LABlab(14.81, 18.74, -37.47)
CIE-LCHlch(14.81, 41.90, 296.58°)
OKLaboklab(27.29% -0.0016 -0.1082)
OKLCHoklch(27.29% 0.108 269.1)
XYZxyz(2.6462, 1.8735, 10.1177)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131F5B #5B4F13
analogous
#13435B #131F5B #2B135B
triadic
#131F5B #5B131F #1F5B13
tetradic
#131F5B #5B1343 #5B4F13 #135B2B
square
#131F5B #5B1343 #5B4F13 #135B2B
split-complementary
#131F5B #5B2B13 #435B13
monochromatic
#050919 #080E28 #131F5B #1E308E #2841C0

Accessibility & contrast

On white

15.27
#131F5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#131F5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131F5B
15.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131F5B#FFFFFF#000000##FFFFFF
##131F5B1.0015.271.3715.27
#FFFFFF15.271.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295D
Deuteranopia (green-blind)
#00225A
Tritanopia (blue-blind)
#002E39
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #131f5b;
/* rgb */ color: rgb(19, 31, 91);
/* oklch */ color: oklch(27.3% 0.108 269.1);
Tailwind
colors: {
  custom: {
    50: '#5d5a8a',
    500: '#131f5b',
    950: '#000000',
  },
}
SCSS
$custom: #131f5b;
$custom-light: #5d5a8a;
$custom-dark: #000000;
JSON
{
  "hex": "#131f5b",
  "rgb": {
    "r": 19,
    "g": 31,
    "b": 91
  },
  "hsl": {
    "h": 230,
    "s": 65.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.27288,
    "c": 0.10824,
    "h": 269.1
  },
  "luminance": 0.01874
}

Semantic roles & 50–950 ramp

primary
#131F5B
secondary
#938437
accent
#CC3FE8
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #131F5B

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

Preview Lab → · Contrast checker → · Palette generator →

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