#131D4C#131D4C

#131D4C is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.4% C 0.088 H 270.0°. Best body text is #FFFFFF at 16.06:1 contrast (WCAG AA passes).

Color values

HEX#131D4C
RGBrgb(19, 29, 76)
HSLhsl(229, 60%, 19%)
HSVhsv(229, 75%, 30%)
CMYKcmyk(75%, 61.8%, 0%, 70.2%)
CIE-LABlab(12.85, 13.95, -30.48)
CIE-LCHlch(12.85, 33.52, 294.59°)
OKLaboklab(25.4% -0.0001 -0.0877)
OKLCHoklch(25.4% 0.088 270)
XYZxyz(2.0120, 1.5388, 7.0271)
Luminance0.0154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131D4C #4C4213
analogous
#13394C #131D4C #25134C
triadic
#131D4C #4C131D #1D4C13
tetradic
#131D4C #4C1339 #4C4213 #134C25
square
#131D4C #4C1339 #4C4213 #134C25
split-complementary
#131D4C #4C2513 #394C13
monochromatic
#060918 #070A1B #131D4C #1F307D #2B42AE

Accessibility & contrast

On white

16.06
#131D4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#131D4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131D4C
16.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131D4C#FFFFFF#000000##FFFFFF
##131D4C1.0016.061.3116.06
#FFFFFF16.061.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00244E
Deuteranopia (green-blind)
#001F4B
Tritanopia (blue-blind)
#002831
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #131d4c;
/* rgb */ color: rgb(19, 29, 76);
/* oklch */ color: oklch(25.4% 0.088 270.0);
Tailwind
colors: {
  custom: {
    50: '#59587e',
    500: '#131d4c',
    950: '#000000',
  },
}
SCSS
$custom: #131d4c;
$custom-light: #59587e;
$custom-dark: #000000;
JSON
{
  "hex": "#131d4c",
  "rgb": {
    "r": 19,
    "g": 29,
    "b": 76
  },
  "hsl": {
    "h": 229.474,
    "s": 60,
    "l": 18.627
  },
  "oklch": {
    "l": 0.25404,
    "c": 0.08772,
    "h": 270
  },
  "luminance": 0.01539
}

Semantic roles & 50–950 ramp

primary
#131D4C
secondary
#857736
accent
#C745E3
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #131D4C

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

Preview Lab → · Contrast checker → · Palette generator →

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