#131B2F#131B2F

#131B2F is a very dark, muted blue. Relative luminance 0.011; OKLCH L 22.5% C 0.041 H 266.6°. Best body text is #FFFFFF at 17.13:1 contrast (WCAG AA passes).

Color values

HEX#131B2F
RGBrgb(19, 27, 47)
HSLhsl(223, 42%, 13%)
HSVhsv(223, 60%, 18%)
CMYKcmyk(59.6%, 42.6%, 0%, 81.6%)
CIE-LABlab(10.01, 3.44, -14.50)
CIE-LCHlch(10.01, 14.90, 283.35°)
OKLaboklab(22.54% -0.0024 -0.0408)
OKLCHoklch(22.54% 0.041 266.6)
XYZxyz(1.1734, 1.1275, 2.8446)
Luminance0.0113 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131B2F #2F2713
analogous
#13292F #131B2F #19132F
triadic
#131B2F #2F131B #1B2F13
tetradic
#131B2F #2F1329 #2F2713 #132F19
square
#131B2F #2F1329 #2F2713 #132F19
split-complementary
#131B2F #2F1913 #292F13
monochromatic
#090D16 #090D16 #131B2F #25345B #364D86

Accessibility & contrast

On white

17.13
#131B2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#131B2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131B2F
17.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131B2F#FFFFFF#000000##FFFFFF
##131B2F1.0017.131.2317.13
#FFFFFF17.131.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131D30
Deuteranopia (green-blind)
#101A2F
Tritanopia (blue-blind)
#071F22
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #131b2f;
/* rgb */ color: rgb(19, 27, 47);
/* oklch */ color: oklch(22.5% 0.041 266.6);
Tailwind
colors: {
  custom: {
    50: '#535767',
    500: '#131b2f',
    950: '#000000',
  },
}
SCSS
$custom: #131b2f;
$custom-light: #535767;
$custom-dark: #000000;
JSON
{
  "hex": "#131b2f",
  "rgb": {
    "r": 19,
    "g": 27,
    "b": 47
  },
  "hsl": {
    "h": 222.857,
    "s": 42.424,
    "l": 12.941
  },
  "oklch": {
    "l": 0.2254,
    "c": 0.04092,
    "h": 266.6
  },
  "luminance": 0.01128
}

Semantic roles & 50–950 ramp

primary
#131B2F
secondary
#665937
accent
#AF56D2
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020306
muted
#78787A

Preview Lab

Preview with #131B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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