#131A42#131A42

#131A42 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 23.8% C 0.076 H 271.9°. Best body text is #FFFFFF at 16.74:1 contrast (WCAG AA passes).

Color values

HEX#131A42
RGBrgb(19, 26, 66)
HSLhsl(231, 55%, 17%)
HSVhsv(231, 71%, 26%)
CMYKcmyk(71.2%, 60.6%, 0%, 74.1%)
CIE-LABlab(11.07, 12.03, -26.42)
CIE-LCHlch(11.07, 29.03, 294.49°)
OKLaboklab(23.79% 0.0025 -0.0758)
OKLCHoklch(23.79% 0.076 271.9)
XYZxyz(1.6210, 1.2704, 5.3130)
Luminance0.0127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131A42 #423B13
analogous
#133242 #131A42 #241342
triadic
#131A42 #42131A #1A4213
tetradic
#131A42 #421332 #423B13 #134224
square
#131A42 #421332 #423B13 #134224
split-complementary
#131A42 #422413 #324213
monochromatic
#070918 #070918 #131A42 #212D72 #2E3FA1

Accessibility & contrast

On white

16.74
#131A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #131A42
16.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131A42#FFFFFF#000000##FFFFFF
##131A421.0016.741.2516.74
#FFFFFF16.741.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #131a42;
/* rgb */ color: rgb(19, 26, 66);
/* oklch */ color: oklch(23.8% 0.076 271.9);
Tailwind
colors: {
  custom: {
    50: '#575677',
    500: '#131a42',
    950: '#000000',
  },
}
SCSS
$custom: #131a42;
$custom-light: #575677;
$custom-dark: #000000;
JSON
{
  "hex": "#131a42",
  "rgb": {
    "r": 19,
    "g": 26,
    "b": 66
  },
  "hsl": {
    "h": 231.064,
    "s": 55.294,
    "l": 16.667
  },
  "oklch": {
    "l": 0.23794,
    "c": 0.07586,
    "h": 271.9
  },
  "luminance": 0.01271
}

Semantic roles & 50–950 ramp

primary
#131A42
secondary
#7B7036
accent
#C849DF
background
#F5F5F7
surface
#E9E8ED
border
#C5C4C8
text
#030308
muted
#78787B

Preview Lab

Preview with #131A42

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

Preview Lab → · Contrast checker → · Palette generator →

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