#131D58#131D58

#131D58 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.6% C 0.106 H 270.0°. Best body text is #FFFFFF at 15.62:1 contrast (WCAG AA passes).

Color values

HEX#131D58
RGBrgb(19, 29, 88)
HSLhsl(231, 64%, 21%)
HSVhsv(231, 78%, 35%)
CMYKcmyk(78.4%, 67%, 0%, 65.5%)
CIE-LABlab(13.95, 18.97, -36.85)
CIE-LCHlch(13.95, 41.45, 297.24°)
OKLaboklab(26.57% 0 -0.1064)
OKLCHoklch(26.57% 0.106 270)
XYZxyz(2.4688, 1.7215, 9.4328)
Luminance0.0172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131D58 #584E13
analogous
#133F58 #131D58 #2B1358
triadic
#131D58 #58131D #1D5813
tetradic
#131D58 #58133F #584E13 #13582B
square
#131D58 #58133F #584E13 #13582B
split-complementary
#131D58 #582B13 #3F5813
monochromatic
#050819 #080C26 #131D58 #1E2E8A #293EBD

Accessibility & contrast

On white

15.62
#131D58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#131D58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131D58
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131D58#FFFFFF#000000##FFFFFF
##131D581.0015.621.3415.62
#FFFFFF15.621.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275A
Deuteranopia (green-blind)
#002057
Tritanopia (blue-blind)
#002C37
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #131d58;
/* rgb */ color: rgb(19, 29, 88);
/* oklch */ color: oklch(26.6% 0.106 270.0);
Tailwind
colors: {
  custom: {
    50: '#5d5888',
    500: '#131d58',
    950: '#000000',
  },
}
SCSS
$custom: #131d58;
$custom-light: #5d5888;
$custom-dark: #000000;
JSON
{
  "hex": "#131d58",
  "rgb": {
    "r": 19,
    "g": 29,
    "b": 88
  },
  "hsl": {
    "h": 231.304,
    "s": 64.486,
    "l": 20.98
  },
  "oklch": {
    "l": 0.26566,
    "c": 0.10645,
    "h": 270
  },
  "luminance": 0.01722
}

Semantic roles & 50–950 ramp

primary
#131D58
secondary
#908337
accent
#CF40E7
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05030B
muted
#79787C

Preview Lab

Preview with #131D58

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

Preview Lab → · Contrast checker → · Palette generator →

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