#131D42#131D42

#131D42 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.5% C 0.071 H 269.2°. Best body text is #FFFFFF at 16.38:1 contrast (WCAG AA passes).

Color values

HEX#131D42
RGBrgb(19, 29, 66)
HSLhsl(227, 55%, 17%)
HSVhsv(227, 71%, 26%)
CMYKcmyk(71.2%, 56.1%, 0%, 74.1%)
CIE-LABlab(12.03, 9.72, -24.87)
CIE-LCHlch(12.03, 26.70, 291.36°)
OKLaboklab(24.52% -0.001 -0.0712)
OKLCHoklch(24.52% 0.071 269.2)
XYZxyz(1.6910, 1.4104, 5.3363)
Luminance0.0141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131D42 #423813
analogous
#133542 #131D42 #211342
triadic
#131D42 #42131D #1D4213
tetradic
#131D42 #421335 #423813 #134221
square
#131D42 #421335 #423813 #134221
split-complementary
#131D42 #422113 #354213
monochromatic
#070A18 #070A18 #131D42 #213272 #2E47A1

Accessibility & contrast

On white

16.38
#131D42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#131D42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131D42
16.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131D42#FFFFFF#000000##FFFFFF
##131D421.0016.381.2816.38
#FFFFFF16.381.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092243
Deuteranopia (green-blind)
#021E41
Tritanopia (blue-blind)
#00262C
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #131d42;
/* rgb */ color: rgb(19, 29, 66);
/* oklch */ color: oklch(24.5% 0.071 269.2);
Tailwind
colors: {
  custom: {
    50: '#575877',
    500: '#131d42',
    950: '#000000',
  },
}
SCSS
$custom: #131d42;
$custom-light: #575877;
$custom-dark: #000000;
JSON
{
  "hex": "#131d42",
  "rgb": {
    "r": 19,
    "g": 29,
    "b": 66
  },
  "hsl": {
    "h": 227.234,
    "s": 55.294,
    "l": 16.667
  },
  "oklch": {
    "l": 0.24519,
    "c": 0.07123,
    "h": 269.2
  },
  "luminance": 0.01411
}

Semantic roles & 50–950 ramp

primary
#131D42
secondary
#7B6C36
accent
#BF49DF
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030308
muted
#78787B

Preview Lab

Preview with #131D42

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

Preview Lab → · Contrast checker → · Palette generator →

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