#131C38#131C38

#131C38 is a very dark, muted blue. Relative luminance 0.013; OKLCH L 23.5% C 0.056 H 268.5°. Best body text is #FFFFFF at 16.79:1 contrast (WCAG AA passes).

Color values

HEX#131C38
RGBrgb(19, 28, 56)
HSLhsl(225, 49%, 15%)
HSVhsv(225, 66%, 22%)
CMYKcmyk(66.1%, 50%, 0%, 78%)
CIE-LABlab(10.95, 6.31, -19.51)
CIE-LCHlch(10.95, 20.50, 287.93°)
OKLaboklab(23.46% -0.0015 -0.0555)
OKLCHoklch(23.46% 0.056 268.5)
XYZxyz(1.3974, 1.2544, 3.9091)
Luminance0.0125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131C38 #382F13
analogous
#132F38 #131C38 #1D1338
triadic
#131C38 #38131C #1C3813
tetradic
#131C38 #38132F #382F13 #13381D
square
#131C38 #38132F #382F13 #13381D
split-complementary
#131C38 #381D13 #2F3813
monochromatic
#080B17 #080B17 #131C38 #233366 #324A93

Accessibility & contrast

On white

16.79
#131C38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#131C38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131C38
16.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131C38#FFFFFF#000000##FFFFFF
##131C381.0016.791.2516.79
#FFFFFF16.791.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101F39
Deuteranopia (green-blind)
#0B1C37
Tritanopia (blue-blind)
#012227
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #131c38;
/* rgb */ color: rgb(19, 28, 56);
/* oklch */ color: oklch(23.5% 0.056 268.5);
Tailwind
colors: {
  custom: {
    50: '#54576f',
    500: '#131c38',
    950: '#000000',
  },
}
SCSS
$custom: #131c38;
$custom-light: #54576f;
$custom-dark: #000000;
JSON
{
  "hex": "#131c38",
  "rgb": {
    "r": 19,
    "g": 28,
    "b": 56
  },
  "hsl": {
    "h": 225.405,
    "s": 49.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.2346,
    "c": 0.0555,
    "h": 268.5
  },
  "luminance": 0.01254
}

Semantic roles & 50–950 ramp

primary
#131C38
secondary
#706237
accent
#B74FD9
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#030307
muted
#78787A

Preview Lab

Preview with #131C38

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

Preview Lab → · Contrast checker → · Palette generator →

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