#131B3C#131B3C

#131B3C is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.5% C 0.064 H 270.6°. Best body text is #FFFFFF at 16.80:1 contrast (WCAG AA passes).

Color values

HEX#131B3C
RGBrgb(19, 27, 60)
HSLhsl(228, 52%, 15%)
HSVhsv(228, 68%, 24%)
CMYKcmyk(68.3%, 55%, 0%, 76.5%)
CIE-LABlab(10.91, 8.75, -22.43)
CIE-LCHlch(10.91, 24.08, 291.31°)
OKLaboklab(23.52% 0.0006 -0.0641)
OKLCHoklch(23.52% 0.064 270.6)
XYZxyz(1.4758, 1.2484, 4.4373)
Luminance0.0125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131B3C #3C3413
analogous
#132F3C #131B3C #1F133C
triadic
#131B3C #3C131B #1B3C13
tetradic
#131B3C #3C132F #3C3413 #133C1F
square
#131B3C #3C132F #3C3413 #133C1F
split-complementary
#131B3C #3C1F13 #2F3C13
monochromatic
#070A17 #070A17 #131B3C #22306A #304599

Accessibility & contrast

On white

16.80
#131B3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#131B3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131B3C
16.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131B3C#FFFFFF#000000##FFFFFF
##131B3C1.0016.801.2516.80
#FFFFFF16.801.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B1F3D
Deuteranopia (green-blind)
#051C3B
Tritanopia (blue-blind)
#002228
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #131b3c;
/* rgb */ color: rgb(19, 27, 60);
/* oklch */ color: oklch(23.5% 0.064 270.6);
Tailwind
colors: {
  custom: {
    50: '#555672',
    500: '#131b3c',
    950: '#000000',
  },
}
SCSS
$custom: #131b3c;
$custom-light: #555672;
$custom-dark: #000000;
JSON
{
  "hex": "#131b3c",
  "rgb": {
    "r": 19,
    "g": 27,
    "b": 60
  },
  "hsl": {
    "h": 228.293,
    "s": 51.899,
    "l": 15.49
  },
  "oklch": {
    "l": 0.23522,
    "c": 0.06407,
    "h": 270.6
  },
  "luminance": 0.01249
}

Semantic roles & 50–950 ramp

primary
#131B3C
secondary
#746836
accent
#BF4CDB
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#030308
muted
#78787B

Preview Lab

Preview with #131B3C

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

Preview Lab → · Contrast checker → · Palette generator →

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