#131D5F#131D5F

#131D5F is a dark, moderate blue. Relative luminance 0.018; OKLCH L 27.3% C 0.117 H 269.8°. Best body text is #FFFFFF at 15.34:1 contrast (WCAG AA passes).

Color values

HEX#131D5F
RGBrgb(19, 29, 95)
HSLhsl(232, 67%, 22%)
HSVhsv(232, 80%, 37%)
CMYKcmyk(80%, 69.5%, 0%, 62.7%)
CIE-LABlab(14.64, 21.85, -40.41)
CIE-LCHlch(14.64, 45.94, 298.39°)
OKLaboklab(27.28% -0.0003 -0.1169)
OKLCHoklch(27.28% 0.117 269.8)
XYZxyz(2.7728, 1.8431, 11.0339)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131D5F #5F5513
analogous
#13435F #131D5F #2F135F
triadic
#131D5F #5F131D #1D5F13
tetradic
#131D5F #5F1343 #5F5513 #135F2F
square
#131D5F #5F1343 #5F5513 #135F2F
split-complementary
#131D5F #5F2F13 #435F13
monochromatic
#05081A #090D2C #131D5F #1D2D92 #273CC5

Accessibility & contrast

On white

15.34
#131D5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #131D5F
15.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131D5F#FFFFFF#000000##FFFFFF
##131D5F1.0015.341.3715.34
#FFFFFF15.341.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002961
Deuteranopia (green-blind)
#00215E
Tritanopia (blue-blind)
#002E3B
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #131d5f;
/* rgb */ color: rgb(19, 29, 95);
/* oklch */ color: oklch(27.3% 0.117 269.8);
Tailwind
colors: {
  custom: {
    50: '#5f598d',
    500: '#131d5f',
    950: '#000000',
  },
}
SCSS
$custom: #131d5f;
$custom-light: #5f598d;
$custom-dark: #000000;
JSON
{
  "hex": "#131d5f",
  "rgb": {
    "r": 19,
    "g": 29,
    "b": 95
  },
  "hsl": {
    "h": 232.105,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.27285,
    "c": 0.11688,
    "h": 269.8
  },
  "luminance": 0.01843
}

Semantic roles & 50–950 ramp

primary
#131D5F
secondary
#978A37
accent
#D33EEA
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #131D5F

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

Preview Lab → · Contrast checker → · Palette generator →

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