#131851#131851

#131851 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.8% C 0.103 H 272.5°. Best body text is #FFFFFF at 16.44:1 contrast (WCAG AA passes).

Color values

HEX#131851
RGBrgb(19, 24, 81)
HSLhsl(235, 62%, 20%)
HSVhsv(235, 77%, 32%)
CMYKcmyk(76.5%, 70.4%, 0%, 68.2%)
CIE-LABlab(11.86, 19.76, -35.52)
CIE-LCHlch(11.86, 40.65, 299.09°)
OKLaboklab(24.82% 0.0044 -0.1026)
OKLCHoklch(24.82% 0.103 272.5)
XYZxyz(2.0799, 1.3856, 7.9408)
Luminance0.0139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131851 #514C13
analogous
#133751 #131851 #2D1351
triadic
#131851 #511318 #185113
tetradic
#131851 #511337 #514C13 #13512D
square
#131851 #511337 #514C13 #13512D
split-complementary
#131851 #512D13 #375113
monochromatic
#060719 #07091F #131851 #1F2783 #2A35B4

Accessibility & contrast

On white

16.44
#131851 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#131851 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131851
16.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131851#FFFFFF#000000##FFFFFF
##1318511.0016.441.2816.44
#FFFFFF16.441.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002253
Deuteranopia (green-blind)
#001C50
Tritanopia (blue-blind)
#002732
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #131851;
/* rgb */ color: rgb(19, 24, 81);
/* oklch */ color: oklch(24.8% 0.103 272.5);
Tailwind
colors: {
  custom: {
    50: '#5b5482',
    500: '#131851',
    950: '#000000',
  },
}
SCSS
$custom: #131851;
$custom-light: #5b5482;
$custom-dark: #000000;
JSON
{
  "hex": "#131851",
  "rgb": {
    "r": 19,
    "g": 24,
    "b": 81
  },
  "hsl": {
    "h": 235.161,
    "s": 62,
    "l": 19.608
  },
  "oklch": {
    "l": 0.24816,
    "c": 0.10268,
    "h": 272.5
  },
  "luminance": 0.01386
}

Semantic roles & 50–950 ramp

primary
#131851
secondary
#8A8336
accent
#D843E5
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04030A
muted
#79787C

Preview Lab

Preview with #131851

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

Preview Lab → · Contrast checker → · Palette generator →

#131851 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva