#131D59#131D59

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

Color values

HEX#131D59
RGBrgb(19, 29, 89)
HSLhsl(231, 65%, 21%)
HSVhsv(231, 79%, 35%)
CMYKcmyk(78.7%, 67.4%, 0%, 65.1%)
CIE-LABlab(14.05, 19.39, -37.37)
CIE-LCHlch(14.05, 42.10, 297.42°)
OKLaboklab(26.67% 0 -0.108)
OKLCHoklch(26.67% 0.108 270)
XYZxyz(2.5105, 1.7382, 9.6525)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131D59 #594F13
analogous
#134059 #131D59 #2C1359
triadic
#131D59 #59131D #1D5913
tetradic
#131D59 #591340 #594F13 #13592C
square
#131D59 #591340 #594F13 #13592C
split-complementary
#131D59 #592C13 #405913
monochromatic
#050819 #080D27 #131D59 #1E2D8B #293EBE

Accessibility & contrast

On white

15.58
#131D59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #131D59
15.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131D59#FFFFFF#000000##FFFFFF
##131D591.0015.581.3515.58
#FFFFFF15.581.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275B
Deuteranopia (green-blind)
#002058
Tritanopia (blue-blind)
#002C38
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #131d59;
/* rgb */ color: rgb(19, 29, 89);
/* oklch */ color: oklch(26.7% 0.108 270.0);
Tailwind
colors: {
  custom: {
    50: '#5d5889',
    500: '#131d59',
    950: '#000000',
  },
}
SCSS
$custom: #131d59;
$custom-light: #5d5889;
$custom-dark: #000000;
JSON
{
  "hex": "#131d59",
  "rgb": {
    "r": 19,
    "g": 29,
    "b": 89
  },
  "hsl": {
    "h": 231.429,
    "s": 64.815,
    "l": 21.176
  },
  "oklch": {
    "l": 0.26667,
    "c": 0.10796,
    "h": 270
  },
  "luminance": 0.01738
}

Semantic roles & 50–950 ramp

primary
#131D59
secondary
#918437
accent
#D040E8
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05030B
muted
#79787C

Preview Lab

Preview with #131D59

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

Preview Lab → · Contrast checker → · Palette generator →

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