#131B47#131B47

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

Color values

HEX#131B47
RGBrgb(19, 27, 71)
HSLhsl(231, 58%, 18%)
HSVhsv(231, 73%, 28%)
CMYKcmyk(73.2%, 62%, 0%, 72.2%)
CIE-LABlab(11.80, 13.36, -28.72)
CIE-LCHlch(11.80, 31.68, 294.95°)
OKLaboklab(24.48% 0.0018 -0.0826)
OKLCHoklch(24.48% 0.083 271.2)
XYZxyz(1.7974, 1.3771, 6.1311)
Luminance0.0138 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131B47 #473F13
analogous
#133547 #131B47 #251347
triadic
#131B47 #47131B #1B4713
tetradic
#131B47 #471335 #473F13 #134725
square
#131B47 #471335 #473F13 #134725
split-complementary
#131B47 #472513 #354713
monochromatic
#060918 #060918 #131B47 #202D77 #2D40A8

Accessibility & contrast

On white

16.47
#131B47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #131B47
16.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131B47#FFFFFF#000000##FFFFFF
##131B471.0016.471.2816.47
#FFFFFF16.471.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002249
Deuteranopia (green-blind)
#001D46
Tritanopia (blue-blind)
#00262D
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #131b47;
/* rgb */ color: rgb(19, 27, 71);
/* oklch */ color: oklch(24.5% 0.083 271.2);
Tailwind
colors: {
  custom: {
    50: '#58577b',
    500: '#131b47',
    950: '#000000',
  },
}
SCSS
$custom: #131b47;
$custom-light: #58577b;
$custom-dark: #000000;
JSON
{
  "hex": "#131b47",
  "rgb": {
    "r": 19,
    "g": 27,
    "b": 71
  },
  "hsl": {
    "h": 230.769,
    "s": 57.778,
    "l": 17.647
  },
  "oklch": {
    "l": 0.24482,
    "c": 0.0826,
    "h": 271.2
  },
  "luminance": 0.01377
}

Semantic roles & 50–950 ramp

primary
#131B47
secondary
#807436
accent
#C947E1
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040309
muted
#79787B

Preview Lab

Preview with #131B47

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

Preview Lab → · Contrast checker → · Palette generator →

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