#131D4D#131D4D

#131D4D is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.5% C 0.089 H 270.0°. Best body text is #FFFFFF at 16.02:1 contrast (WCAG AA passes).

Color values

HEX#131D4D
RGBrgb(19, 29, 77)
HSLhsl(230, 60%, 19%)
HSVhsv(230, 75%, 30%)
CMYKcmyk(75.3%, 62.3%, 0%, 69.8%)
CIE-LABlab(12.94, 14.37, -31.02)
CIE-LCHlch(12.94, 34.19, 294.85°)
OKLaboklab(25.5% 0 -0.0893)
OKLCHoklch(25.5% 0.089 270)
XYZxyz(2.0470, 1.5528, 7.2116)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131D4D #4D4313
analogous
#133A4D #131D4D #26134D
triadic
#131D4D #4D131D #1D4D13
tetradic
#131D4D #4D133A #4D4313 #134D26
square
#131D4D #4D133A #4D4313 #134D26
split-complementary
#131D4D #4D2613 #3A4D13
monochromatic
#060919 #070B1C #131D4D #1F2F7E #2B42AF

Accessibility & contrast

On white

16.02
#131D4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #131D4D
16.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131D4D#FFFFFF#000000##FFFFFF
##131D4D1.0016.021.3116.02
#FFFFFF16.021.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00244F
Deuteranopia (green-blind)
#001F4C
Tritanopia (blue-blind)
#002931
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #131d4d;
/* rgb */ color: rgb(19, 29, 77);
/* oklch */ color: oklch(25.5% 0.089 270.0);
Tailwind
colors: {
  custom: {
    50: '#59587f',
    500: '#131d4d',
    950: '#000000',
  },
}
SCSS
$custom: #131d4d;
$custom-light: #59587f;
$custom-dark: #000000;
JSON
{
  "hex": "#131d4d",
  "rgb": {
    "r": 19,
    "g": 29,
    "b": 77
  },
  "hsl": {
    "h": 229.655,
    "s": 60.417,
    "l": 18.824
  },
  "oklch": {
    "l": 0.25497,
    "c": 0.08932,
    "h": 270
  },
  "luminance": 0.01553
}

Semantic roles & 50–950 ramp

primary
#131D4D
secondary
#867836
accent
#C844E4
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #131D4D

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

Preview Lab → · Contrast checker → · Palette generator →

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