#131B41#131B41

#131B41 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 23.9% C 0.073 H 271.0°. Best body text is #FFFFFF at 16.66:1 contrast (WCAG AA passes).

Color values

HEX#131B41
RGBrgb(19, 27, 65)
HSLhsl(230, 55%, 16%)
HSVhsv(230, 71%, 25%)
CMYKcmyk(70.8%, 58.5%, 0%, 74.5%)
CIE-LABlab(11.30, 10.84, -25.33)
CIE-LCHlch(11.30, 27.56, 293.17°)
OKLaboklab(23.95% 0.0013 -0.0726)
OKLCHoklch(23.95% 0.073 271)
XYZxyz(1.6143, 1.3038, 5.1666)
Luminance0.0130 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131B41 #413913
analogous
#133241 #131B41 #221341
triadic
#131B41 #41131B #1B4113
tetradic
#131B41 #411332 #413913 #134122
square
#131B41 #411332 #413913 #134122
split-complementary
#131B41 #412213 #324113
monochromatic
#070A18 #070A18 #131B41 #212F70 #2F42A0

Accessibility & contrast

On white

16.66
#131B41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#131B41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131B41
16.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131B41#FFFFFF#000000##FFFFFF
##131B411.0016.661.2616.66
#FFFFFF16.661.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062042
Deuteranopia (green-blind)
#001C40
Tritanopia (blue-blind)
#00242B
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #131b41;
/* rgb */ color: rgb(19, 27, 65);
/* oklch */ color: oklch(23.9% 0.073 271.0);
Tailwind
colors: {
  custom: {
    50: '#565676',
    500: '#131b41',
    950: '#000000',
  },
}
SCSS
$custom: #131b41;
$custom-light: #565676;
$custom-dark: #000000;
JSON
{
  "hex": "#131b41",
  "rgb": {
    "r": 19,
    "g": 27,
    "b": 65
  },
  "hsl": {
    "h": 229.565,
    "s": 54.762,
    "l": 16.471
  },
  "oklch": {
    "l": 0.23945,
    "c": 0.07263,
    "h": 271
  },
  "luminance": 0.01304
}

Semantic roles & 50–950 ramp

primary
#131B41
secondary
#7A6E36
accent
#C44ADE
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030308
muted
#78787B

Preview Lab

Preview with #131B41

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

Preview Lab → · Contrast checker → · Palette generator →

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