#131B4C#131B4C

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

Color values

HEX#131B4C
RGBrgb(19, 27, 76)
HSLhsl(232, 60%, 19%)
HSVhsv(232, 75%, 30%)
CMYKcmyk(75%, 64.5%, 0%, 70.2%)
CIE-LABlab(12.25, 15.47, -31.46)
CIE-LCHlch(12.25, 35.06, 296.18°)
OKLaboklab(24.95% 0.0019 -0.0906)
OKLCHoklch(24.95% 0.091 271.2)
XYZxyz(1.9646, 1.4439, 7.0112)
Luminance0.0144 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131B4C #4C4413
analogous
#13374C #131B4C #27134C
triadic
#131B4C #4C131B #1B4C13
tetradic
#131B4C #4C1337 #4C4413 #134C27
square
#131B4C #4C1337 #4C4413 #134C27
split-complementary
#131B4C #4C2713 #374C13
monochromatic
#060918 #070A1B #131B4C #1F2C7D #2B3EAE

Accessibility & contrast

On white

16.29
#131B4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#131B4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131B4C
16.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131B4C#FFFFFF#000000##FFFFFF
##131B4C1.0016.291.2916.29
#FFFFFF16.291.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234E
Deuteranopia (green-blind)
#001D4B
Tritanopia (blue-blind)
#002730
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #131b4c;
/* rgb */ color: rgb(19, 27, 76);
/* oklch */ color: oklch(25.0% 0.091 271.2);
Tailwind
colors: {
  custom: {
    50: '#59577e',
    500: '#131b4c',
    950: '#000000',
  },
}
SCSS
$custom: #131b4c;
$custom-light: #59577e;
$custom-dark: #000000;
JSON
{
  "hex": "#131b4c",
  "rgb": {
    "r": 19,
    "g": 27,
    "b": 76
  },
  "hsl": {
    "h": 231.579,
    "s": 60,
    "l": 18.627
  },
  "oklch": {
    "l": 0.24952,
    "c": 0.09066,
    "h": 271.2
  },
  "luminance": 0.01444
}

Semantic roles & 50–950 ramp

primary
#131B4C
secondary
#857A36
accent
#CD45E3
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #131B4C

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

Preview Lab → · Contrast checker → · Palette generator →

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