#131B49#131B49

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

Color values

HEX#131B49
RGBrgb(19, 27, 73)
HSLhsl(231, 59%, 18%)
HSVhsv(231, 74%, 29%)
CMYKcmyk(74%, 63%, 0%, 71.4%)
CIE-LABlab(11.98, 14.21, -29.82)
CIE-LCHlch(11.98, 33.03, 295.47°)
OKLaboklab(24.67% 0.0018 -0.0858)
OKLCHoklch(24.67% 0.086 271.2)
XYZxyz(1.8627, 1.4032, 6.4747)
Luminance0.0140 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131B49 #494113
analogous
#133649 #131B49 #261349
triadic
#131B49 #49131B #1B4913
tetradic
#131B49 #491336 #494113 #134926
square
#131B49 #491336 #494113 #134926
split-complementary
#131B49 #492613 #364913
monochromatic
#060918 #060918 #131B49 #202D7A #2C3FAA

Accessibility & contrast

On white

16.40
#131B49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #131B49
16.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131B49#FFFFFF#000000##FFFFFF
##131B491.0016.401.2816.40
#FFFFFF16.401.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #131b49;
/* rgb */ color: rgb(19, 27, 73);
/* oklch */ color: oklch(24.7% 0.086 271.2);
Tailwind
colors: {
  custom: {
    50: '#59577c',
    500: '#131b49',
    950: '#000000',
  },
}
SCSS
$custom: #131b49;
$custom-light: #59577c;
$custom-dark: #000000;
JSON
{
  "hex": "#131b49",
  "rgb": {
    "r": 19,
    "g": 27,
    "b": 73
  },
  "hsl": {
    "h": 231.111,
    "s": 58.696,
    "l": 18.039
  },
  "oklch": {
    "l": 0.24668,
    "c": 0.08585,
    "h": 271.2
  },
  "luminance": 0.01403
}

Semantic roles & 50–950 ramp

primary
#131B49
secondary
#827636
accent
#CB46E2
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040309
muted
#79787B

Preview Lab

Preview with #131B49

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

Preview Lab → · Contrast checker → · Palette generator →

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