#131D4F#131D4F

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

Color values

HEX#131D4F
RGBrgb(19, 29, 79)
HSLhsl(230, 61%, 19%)
HSVhsv(230, 76%, 31%)
CMYKcmyk(75.9%, 63.3%, 0%, 69%)
CIE-LABlab(13.12, 15.21, -32.11)
CIE-LCHlch(13.12, 35.53, 295.35°)
OKLaboklab(25.69% 0.0001 -0.0925)
OKLCHoklch(25.69% 0.093 270)
XYZxyz(2.1187, 1.5815, 7.5892)
Luminance0.0158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131D4F #4F4513
analogous
#133B4F #131D4F #27134F
triadic
#131D4F #4F131D #1D4F13
tetradic
#131D4F #4F133B #4F4513 #134F27
square
#131D4F #4F133B #4F4513 #134F27
split-complementary
#131D4F #4F2713 #3B4F13
monochromatic
#060919 #070B1E #131D4F #1F2F80 #2B41B2

Accessibility & contrast

On white

15.95
#131D4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#131D4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131D4F
15.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131D4F#FFFFFF#000000##FFFFFF
##131D4F1.0015.951.3215.95
#FFFFFF15.951.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002551
Deuteranopia (green-blind)
#001F4E
Tritanopia (blue-blind)
#002932
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #131d4f;
/* rgb */ color: rgb(19, 29, 79);
/* oklch */ color: oklch(25.7% 0.093 270.0);
Tailwind
colors: {
  custom: {
    50: '#5a5881',
    500: '#131d4f',
    950: '#000000',
  },
}
SCSS
$custom: #131d4f;
$custom-light: #5a5881;
$custom-dark: #000000;
JSON
{
  "hex": "#131d4f",
  "rgb": {
    "r": 19,
    "g": 29,
    "b": 79
  },
  "hsl": {
    "h": 230,
    "s": 61.224,
    "l": 19.216
  },
  "oklch": {
    "l": 0.25685,
    "c": 0.09251,
    "h": 270
  },
  "luminance": 0.01582
}

Semantic roles & 50–950 ramp

primary
#131D4F
secondary
#887A36
accent
#CA43E4
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #131D4F

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

Preview Lab → · Contrast checker → · Palette generator →

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