#131B38#131B38

#131B38 is a very dark, muted blue. Relative luminance 0.012; OKLCH L 23.2% C 0.057 H 269.9°. Best body text is #FFFFFF at 16.91:1 contrast (WCAG AA passes).

Color values

HEX#131B38
RGBrgb(19, 27, 56)
HSLhsl(227, 49%, 15%)
HSVhsv(227, 66%, 22%)
CMYKcmyk(66.1%, 51.8%, 0%, 78%)
CIE-LABlab(10.61, 7.09, -20.05)
CIE-LCHlch(10.61, 21.26, 289.47°)
OKLaboklab(23.2% -0.0001 -0.0571)
OKLCHoklch(23.2% 0.057 269.9)
XYZxyz(1.3741, 1.2077, 3.9013)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131B38 #383013
analogous
#132E38 #131B38 #1E1338
triadic
#131B38 #38131B #1B3813
tetradic
#131B38 #38132E #383013 #13381E
square
#131B38 #38132E #383013 #13381E
split-complementary
#131B38 #381E13 #2E3813
monochromatic
#080B17 #080B17 #131B38 #233166 #324793

Accessibility & contrast

On white

16.91
#131B38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#131B38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131B38
16.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131B38#FFFFFF#000000##FFFFFF
##131B381.0016.911.2416.91
#FFFFFF16.911.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E1E39
Deuteranopia (green-blind)
#091B37
Tritanopia (blue-blind)
#012126
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #131b38;
/* rgb */ color: rgb(19, 27, 56);
/* oklch */ color: oklch(23.2% 0.057 269.9);
Tailwind
colors: {
  custom: {
    50: '#54566f',
    500: '#131b38',
    950: '#000000',
  },
}
SCSS
$custom: #131b38;
$custom-light: #54566f;
$custom-dark: #000000;
JSON
{
  "hex": "#131b38",
  "rgb": {
    "r": 19,
    "g": 27,
    "b": 56
  },
  "hsl": {
    "h": 227.027,
    "s": 49.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.23201,
    "c": 0.05708,
    "h": 269.9
  },
  "luminance": 0.01208
}

Semantic roles & 50–950 ramp

primary
#131B38
secondary
#706437
accent
#BB4FD9
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#030307
muted
#78787A

Preview Lab

Preview with #131B38

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

Preview Lab → · Contrast checker → · Palette generator →

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