#131C47#131C47

#131C47 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.7% C 0.081 H 270.5°. Best body text is #FFFFFF at 16.34:1 contrast (WCAG AA passes).

Color values

HEX#131C47
RGBrgb(19, 28, 71)
HSLhsl(230, 58%, 18%)
HSVhsv(230, 73%, 28%)
CMYKcmyk(73.2%, 60.6%, 0%, 72.2%)
CIE-LABlab(12.11, 12.60, -28.22)
CIE-LCHlch(12.11, 30.90, 294.07°)
OKLaboklab(24.72% 0.0007 -0.0811)
OKLCHoklch(24.72% 0.081 270.5)
XYZxyz(1.8208, 1.4237, 6.1389)
Luminance0.0142 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131C47 #473E13
analogous
#133647 #131C47 #241347
triadic
#131C47 #47131C #1C4713
tetradic
#131C47 #471336 #473E13 #134724
square
#131C47 #471336 #473E13 #134724
split-complementary
#131C47 #472413 #364713
monochromatic
#060A18 #060A18 #131C47 #202F77 #2D42A8

Accessibility & contrast

On white

16.34
#131C47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #131C47
16.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131C47#FFFFFF#000000##FFFFFF
##131C471.0016.341.2816.34
#FFFFFF16.341.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012248
Deuteranopia (green-blind)
#001D46
Tritanopia (blue-blind)
#00262E
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #131c47;
/* rgb */ color: rgb(19, 28, 71);
/* oklch */ color: oklch(24.7% 0.081 270.5);
Tailwind
colors: {
  custom: {
    50: '#58577b',
    500: '#131c47',
    950: '#000000',
  },
}
SCSS
$custom: #131c47;
$custom-light: #58577b;
$custom-dark: #000000;
JSON
{
  "hex": "#131c47",
  "rgb": {
    "r": 19,
    "g": 28,
    "b": 71
  },
  "hsl": {
    "h": 229.615,
    "s": 57.778,
    "l": 17.647
  },
  "oklch": {
    "l": 0.24715,
    "c": 0.08108,
    "h": 270.5
  },
  "luminance": 0.01424
}

Semantic roles & 50–950 ramp

primary
#131C47
secondary
#807336
accent
#C647E1
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040309
muted
#79787B

Preview Lab

Preview with #131C47

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

Preview Lab → · Contrast checker → · Palette generator →

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