#131B4B#131B4B

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

Color values

HEX#131B4B
RGBrgb(19, 27, 75)
HSLhsl(231, 60%, 18%)
HSVhsv(231, 75%, 29%)
CMYKcmyk(74.7%, 64%, 0%, 70.6%)
CIE-LABlab(12.16, 15.05, -30.92)
CIE-LCHlch(12.16, 34.39, 295.95°)
OKLaboklab(24.86% 0.0019 -0.089)
OKLCHoklch(24.86% 0.089 271.2)
XYZxyz(1.9301, 1.4301, 6.8296)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131B4B #4B4313
analogous
#13374B #131B4B #27134B
triadic
#131B4B #4B131B #1B4B13
tetradic
#131B4B #4B1337 #4B4313 #134B27
square
#131B4B #4B1337 #4B4313 #134B27
split-complementary
#131B4B #4B2713 #374B13
monochromatic
#060918 #07091A #131B4B #1F2D7C #2C3EAD

Accessibility & contrast

On white

16.33
#131B4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #131B4B
16.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131B4B#FFFFFF#000000##FFFFFF
##131B4B1.0016.331.2916.33
#FFFFFF16.331.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224D
Deuteranopia (green-blind)
#001D4A
Tritanopia (blue-blind)
#002730
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #131b4b;
/* rgb */ color: rgb(19, 27, 75);
/* oklch */ color: oklch(24.9% 0.089 271.2);
Tailwind
colors: {
  custom: {
    50: '#59577e',
    500: '#131b4b',
    950: '#000000',
  },
}
SCSS
$custom: #131b4b;
$custom-light: #59577e;
$custom-dark: #000000;
JSON
{
  "hex": "#131b4b",
  "rgb": {
    "r": 19,
    "g": 27,
    "b": 75
  },
  "hsl": {
    "h": 231.429,
    "s": 59.574,
    "l": 18.431
  },
  "oklch": {
    "l": 0.24856,
    "c": 0.08906,
    "h": 271.2
  },
  "luminance": 0.0143
}

Semantic roles & 50–950 ramp

primary
#131B4B
secondary
#847936
accent
#CC45E3
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #131B4B

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

Preview Lab → · Contrast checker → · Palette generator →

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