#131C5D#131C5D

#131C5D is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.9% C 0.115 H 270.3°. Best body text is #FFFFFF at 15.53:1 contrast (WCAG AA passes).

Color values

HEX#131C5D
RGBrgb(19, 28, 93)
HSLhsl(233, 66%, 22%)
HSVhsv(233, 80%, 36%)
CMYKcmyk(79.6%, 69.9%, 0%, 63.5%)
CIE-LABlab(14.17, 21.75, -39.86)
CIE-LCHlch(14.17, 45.40, 298.62°)
OKLaboklab(26.88% 0.0005 -0.1152)
OKLCHoklch(26.88% 0.115 270.3)
XYZxyz(2.6589, 1.7590, 10.5532)
Luminance0.0176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131C5D #5D5413
analogous
#13415D #131C5D #2F135D
triadic
#131C5D #5D131C #1C5D13
tetradic
#131C5D #5D1341 #5D5413 #135D2F
square
#131C5D #5D1341 #5D5413 #135D2F
split-complementary
#131C5D #5D2F13 #415D13
monochromatic
#050819 #090D2A #131C5D #1D2B90 #283BC3

Accessibility & contrast

On white

15.53
#131C5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #131C5D
15.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131C5D#FFFFFF#000000##FFFFFF
##131C5D1.0015.531.3515.53
#FFFFFF15.531.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275F
Deuteranopia (green-blind)
#00205C
Tritanopia (blue-blind)
#002D39
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #131c5d;
/* rgb */ color: rgb(19, 28, 93);
/* oklch */ color: oklch(26.9% 0.115 270.3);
Tailwind
colors: {
  custom: {
    50: '#5e588c',
    500: '#131c5d',
    950: '#000000',
  },
}
SCSS
$custom: #131c5d;
$custom-light: #5e588c;
$custom-dark: #000000;
JSON
{
  "hex": "#131c5d",
  "rgb": {
    "r": 19,
    "g": 28,
    "b": 93
  },
  "hsl": {
    "h": 232.703,
    "s": 66.071,
    "l": 21.961
  },
  "oklch": {
    "l": 0.26876,
    "c": 0.11525,
    "h": 270.3
  },
  "luminance": 0.01759
}

Semantic roles & 50–950 ramp

primary
#131C5D
secondary
#958A37
accent
#D43FE9
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #131C5D

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

Preview Lab → · Contrast checker → · Palette generator →

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