#131D5C#131D5C

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

Color values

HEX#131D5C
RGBrgb(19, 29, 92)
HSLhsl(232, 66%, 22%)
HSVhsv(232, 79%, 36%)
CMYKcmyk(79.3%, 68.5%, 0%, 63.9%)
CIE-LABlab(14.34, 20.62, -38.90)
CIE-LCHlch(14.34, 44.03, 297.93°)
OKLaboklab(26.97% -0.0001 -0.1124)
OKLCHoklch(26.97% 0.112 269.9)
XYZxyz(2.6390, 1.7896, 10.3295)
Luminance0.0179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131D5C #5C5213
analogous
#13425C #131D5C #2E135C
triadic
#131D5C #5C131D #1D5C13
tetradic
#131D5C #5C1342 #5C5213 #135C2E
square
#131D5C #5C1342 #5C5213 #135C2E
split-complementary
#131D5C #5C2E13 #425C13
monochromatic
#050819 #090D29 #131D5C #1D2D8F #283DC1

Accessibility & contrast

On white

15.46
#131D5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #131D5C
15.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131D5C#FFFFFF#000000##FFFFFF
##131D5C1.0015.461.3615.46
#FFFFFF15.461.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285E
Deuteranopia (green-blind)
#00215B
Tritanopia (blue-blind)
#002D39
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #131d5c;
/* rgb */ color: rgb(19, 29, 92);
/* oklch */ color: oklch(27.0% 0.112 269.9);
Tailwind
colors: {
  custom: {
    50: '#5e588b',
    500: '#131d5c',
    950: '#000000',
  },
}
SCSS
$custom: #131d5c;
$custom-light: #5e588b;
$custom-dark: #000000;
JSON
{
  "hex": "#131d5c",
  "rgb": {
    "r": 19,
    "g": 29,
    "b": 92
  },
  "hsl": {
    "h": 231.781,
    "s": 65.766,
    "l": 21.765
  },
  "oklch": {
    "l": 0.26973,
    "c": 0.11245,
    "h": 269.9
  },
  "luminance": 0.0179
}

Semantic roles & 50–950 ramp

primary
#131D5C
secondary
#948737
accent
#D13FE9
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #131D5C

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

Preview Lab → · Contrast checker → · Palette generator →

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