#131F5A#131F5A

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

Color values

HEX#131F5A
RGBrgb(19, 31, 90)
HSLhsl(230, 65%, 21%)
HSVhsv(230, 79%, 35%)
CMYKcmyk(78.9%, 65.6%, 0%, 64.7%)
CIE-LABlab(14.71, 18.33, -36.95)
CIE-LCHlch(14.71, 41.25, 296.38°)
OKLaboklab(27.19% -0.0016 -0.1067)
OKLCHoklch(27.19% 0.107 269.1)
XYZxyz(2.6034, 1.8563, 9.8920)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131F5A #5A4E13
analogous
#13435A #131F5A #2B135A
triadic
#131F5A #5A131F #1F5A13
tetradic
#131F5A #5A1343 #5A4E13 #135A2B
square
#131F5A #5A1343 #5A4E13 #135A2B
split-complementary
#131F5A #5A2B13 #435A13
monochromatic
#050919 #080E27 #131F5A #1E308D #2842BF

Accessibility & contrast

On white

15.31
#131F5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #131F5A
15.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131F5A#FFFFFF#000000##FFFFFF
##131F5A1.0015.311.3715.31
#FFFFFF15.311.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285C
Deuteranopia (green-blind)
#002259
Tritanopia (blue-blind)
#002E39
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #131f5a;
/* rgb */ color: rgb(19, 31, 90);
/* oklch */ color: oklch(27.2% 0.107 269.1);
Tailwind
colors: {
  custom: {
    50: '#5d5a89',
    500: '#131f5a',
    950: '#000000',
  },
}
SCSS
$custom: #131f5a;
$custom-light: #5d5a89;
$custom-dark: #000000;
JSON
{
  "hex": "#131f5a",
  "rgb": {
    "r": 19,
    "g": 31,
    "b": 90
  },
  "hsl": {
    "h": 229.859,
    "s": 65.138,
    "l": 21.373
  },
  "oklch": {
    "l": 0.27189,
    "c": 0.10672,
    "h": 269.1
  },
  "luminance": 0.01857
}

Semantic roles & 50–950 ramp

primary
#131F5A
secondary
#928337
accent
#CC40E8
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05030B
muted
#79787C

Preview Lab

Preview with #131F5A

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

Preview Lab → · Contrast checker → · Palette generator →

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