#131D5A#131D5A

#131D5A is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.8% C 0.109 H 270.0°. Best body text is #FFFFFF at 15.54:1 contrast (WCAG AA passes).

Color values

HEX#131D5A
RGBrgb(19, 29, 90)
HSLhsl(232, 65%, 21%)
HSVhsv(232, 79%, 35%)
CMYKcmyk(78.9%, 67.8%, 0%, 64.7%)
CIE-LABlab(14.15, 19.80, -37.88)
CIE-LCHlch(14.15, 42.74, 297.59°)
OKLaboklab(26.77% 0 -0.1095)
OKLCHoklch(26.77% 0.109 270)
XYZxyz(2.5528, 1.7551, 9.8751)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131D5A #5A5013
analogous
#13415A #131D5A #2D135A
triadic
#131D5A #5A131D #1D5A13
tetradic
#131D5A #5A1341 #5A5013 #135A2D
square
#131D5A #5A1341 #5A5013 #135A2D
split-complementary
#131D5A #5A2D13 #415A13
monochromatic
#050819 #080D27 #131D5A #1E2D8D #283EBF

Accessibility & contrast

On white

15.54
#131D5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #131D5A
15.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131D5A#FFFFFF#000000##FFFFFF
##131D5A1.0015.541.3515.54
#FFFFFF15.541.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275C
Deuteranopia (green-blind)
#002159
Tritanopia (blue-blind)
#002D38
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #131d5a;
/* rgb */ color: rgb(19, 29, 90);
/* oklch */ color: oklch(26.8% 0.109 270.0);
Tailwind
colors: {
  custom: {
    50: '#5d5889',
    500: '#131d5a',
    950: '#000000',
  },
}
SCSS
$custom: #131d5a;
$custom-light: #5d5889;
$custom-dark: #000000;
JSON
{
  "hex": "#131d5a",
  "rgb": {
    "r": 19,
    "g": 29,
    "b": 90
  },
  "hsl": {
    "h": 231.549,
    "s": 65.138,
    "l": 21.373
  },
  "oklch": {
    "l": 0.26768,
    "c": 0.10946,
    "h": 270
  },
  "luminance": 0.01755
}

Semantic roles & 50–950 ramp

primary
#131D5A
secondary
#928537
accent
#D040E8
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #131D5A

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

Preview Lab → · Contrast checker → · Palette generator →

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