#131B42#131B42

#131B42 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.0% C 0.074 H 271.1°. Best body text is #FFFFFF at 16.62:1 contrast (WCAG AA passes).

Color values

HEX#131B42
RGBrgb(19, 27, 66)
HSLhsl(230, 55%, 17%)
HSVhsv(230, 71%, 26%)
CMYKcmyk(71.2%, 59.1%, 0%, 74.1%)
CIE-LABlab(11.38, 11.26, -25.91)
CIE-LCHlch(11.38, 28.25, 293.50°)
OKLaboklab(24.03% 0.0014 -0.0743)
OKLCHoklch(24.03% 0.074 271.1)
XYZxyz(1.6435, 1.3155, 5.3205)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131B42 #423A13
analogous
#133342 #131B42 #231342
triadic
#131B42 #42131B #1B4213
tetradic
#131B42 #421333 #423A13 #134223
square
#131B42 #421333 #423A13 #134223
split-complementary
#131B42 #422313 #334213
monochromatic
#070A18 #070A18 #131B42 #212E72 #2E42A1

Accessibility & contrast

On white

16.62
#131B42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #131B42
16.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131B42#FFFFFF#000000##FFFFFF
##131B421.0016.621.2616.62
#FFFFFF16.621.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #131b42;
/* rgb */ color: rgb(19, 27, 66);
/* oklch */ color: oklch(24.0% 0.074 271.1);
Tailwind
colors: {
  custom: {
    50: '#575677',
    500: '#131b42',
    950: '#000000',
  },
}
SCSS
$custom: #131b42;
$custom-light: #575677;
$custom-dark: #000000;
JSON
{
  "hex": "#131b42",
  "rgb": {
    "r": 19,
    "g": 27,
    "b": 66
  },
  "hsl": {
    "h": 229.787,
    "s": 55.294,
    "l": 16.667
  },
  "oklch": {
    "l": 0.24032,
    "c": 0.07431,
    "h": 271.1
  },
  "luminance": 0.01316
}

Semantic roles & 50–950 ramp

primary
#131B42
secondary
#7B6F36
accent
#C549DF
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030308
muted
#78787B

Preview Lab

Preview with #131B42

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

Preview Lab → · Contrast checker → · Palette generator →

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