#131B48#131B48

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

Color values

HEX#131B48
RGBrgb(19, 27, 72)
HSLhsl(231, 58%, 18%)
HSVhsv(231, 74%, 28%)
CMYKcmyk(73.6%, 62.5%, 0%, 71.8%)
CIE-LABlab(11.89, 13.79, -29.27)
CIE-LCHlch(11.89, 32.36, 295.22°)
OKLaboklab(24.57% 0.0018 -0.0842)
OKLCHoklch(24.57% 0.084 271.2)
XYZxyz(1.8298, 1.3900, 6.3015)
Luminance0.0139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131B48 #484013
analogous
#133548 #131B48 #251348
triadic
#131B48 #48131B #1B4813
tetradic
#131B48 #481335 #484013 #134825
square
#131B48 #481335 #484013 #134825
split-complementary
#131B48 #482513 #354813
monochromatic
#060918 #060918 #131B48 #202D78 #2D3FA9

Accessibility & contrast

On white

16.43
#131B48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #131B48
16.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131B48#FFFFFF#000000##FFFFFF
##131B481.0016.431.2816.43
#FFFFFF16.431.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224A
Deuteranopia (green-blind)
#001D47
Tritanopia (blue-blind)
#00262E
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #131b48;
/* rgb */ color: rgb(19, 27, 72);
/* oklch */ color: oklch(24.6% 0.084 271.2);
Tailwind
colors: {
  custom: {
    50: '#58577b',
    500: '#131b48',
    950: '#000000',
  },
}
SCSS
$custom: #131b48;
$custom-light: #58577b;
$custom-dark: #000000;
JSON
{
  "hex": "#131b48",
  "rgb": {
    "r": 19,
    "g": 27,
    "b": 72
  },
  "hsl": {
    "h": 230.943,
    "s": 58.242,
    "l": 17.843
  },
  "oklch": {
    "l": 0.24574,
    "c": 0.08423,
    "h": 271.2
  },
  "luminance": 0.0139
}

Semantic roles & 50–950 ramp

primary
#131B48
secondary
#817536
accent
#CA46E1
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040309
muted
#79787B

Preview Lab

Preview with #131B48

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

Preview Lab → · Contrast checker → · Palette generator →

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