#131D5D#131D5D

#131D5D is a dark, moderate blue. Relative luminance 0.018; OKLCH L 27.1% C 0.114 H 269.9°. Best body text is #FFFFFF at 15.43:1 contrast (WCAG AA passes).

Color values

HEX#131D5D
RGBrgb(19, 29, 93)
HSLhsl(232, 66%, 22%)
HSVhsv(232, 80%, 36%)
CMYKcmyk(79.6%, 68.8%, 0%, 63.5%)
CIE-LABlab(14.44, 21.03, -39.41)
CIE-LCHlch(14.44, 44.67, 298.09°)
OKLaboklab(27.08% -0.0002 -0.1139)
OKLCHoklch(27.08% 0.114 269.9)
XYZxyz(2.6830, 1.8072, 10.5612)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131D5D #5D5313
analogous
#13425D #131D5D #2E135D
triadic
#131D5D #5D131D #1D5D13
tetradic
#131D5D #5D1342 #5D5313 #135D2E
square
#131D5D #5D1342 #5D5313 #135D2E
split-complementary
#131D5D #5D2E13 #425D13
monochromatic
#050819 #090D2A #131D5D #1D2D90 #283DC3

Accessibility & contrast

On white

15.43
#131D5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#131D5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131D5D
15.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131D5D#FFFFFF#000000##FFFFFF
##131D5D1.0015.431.3615.43
#FFFFFF15.431.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285F
Deuteranopia (green-blind)
#00215C
Tritanopia (blue-blind)
#002E3A
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #131d5d;
/* rgb */ color: rgb(19, 29, 93);
/* oklch */ color: oklch(27.1% 0.114 269.9);
Tailwind
colors: {
  custom: {
    50: '#5e588c',
    500: '#131d5d',
    950: '#000000',
  },
}
SCSS
$custom: #131d5d;
$custom-light: #5e588c;
$custom-dark: #000000;
JSON
{
  "hex": "#131d5d",
  "rgb": {
    "r": 19,
    "g": 29,
    "b": 93
  },
  "hsl": {
    "h": 231.892,
    "s": 66.071,
    "l": 21.961
  },
  "oklch": {
    "l": 0.27077,
    "c": 0.11393,
    "h": 269.9
  },
  "luminance": 0.01807
}

Semantic roles & 50–950 ramp

primary
#131D5D
secondary
#958837
accent
#D23FE9
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #131D5D

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

Preview Lab → · Contrast checker → · Palette generator →

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