#131A71#131A71

#131A71 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.7% C 0.146 H 269.7°. Best body text is #FFFFFF at 14.85:1 contrast (WCAG AA passes).

Color values

HEX#131A71
RGBrgb(19, 26, 113)
HSLhsl(236, 71%, 26%)
HSVhsv(236, 83%, 44%)
CMYKcmyk(83.2%, 77%, 0%, 55.7%)
CIE-LABlab(15.85, 30.92, -50.25)
CIE-LCHlch(15.85, 59.01, 301.60°)
OKLaboklab(28.74% -0.0008 -0.1456)
OKLCHoklch(28.74% 0.146 269.7)
XYZxyz(3.6176, 2.0691, 15.8283)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131A71 #716A13
analogous
#134971 #131A71 #3B1371
triadic
#131A71 #71131A #1A7113
tetradic
#131A71 #711349 #716A13 #13713B
square
#131A71 #711349 #716A13 #13713B
split-complementary
#131A71 #713B13 #497113
monochromatic
#04061A #0A0E3D #131A71 #1C26A5 #2532DA

Accessibility & contrast

On white

14.85
#131A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#131A71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131A71
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131A71#FFFFFF#000000##FFFFFF
##131A711.0014.851.4114.85
#FFFFFF14.851.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C74
Deuteranopia (green-blind)
#00236F
Tritanopia (blue-blind)
#003344
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #131a71;
/* rgb */ color: rgb(19, 26, 113);
/* oklch */ color: oklch(28.7% 0.146 269.7);
Tailwind
colors: {
  custom: {
    50: '#64579b',
    500: '#131a71',
    950: '#000000',
  },
}
SCSS
$custom: #131a71;
$custom-light: #64579b;
$custom-dark: #000000;
JSON
{
  "hex": "#131a71",
  "rgb": {
    "r": 19,
    "g": 26,
    "b": 113
  },
  "hsl": {
    "h": 235.532,
    "s": 71.212,
    "l": 25.882
  },
  "oklch": {
    "l": 0.28743,
    "c": 0.14558,
    "h": 269.7
  },
  "luminance": 0.02069
}

Semantic roles & 50–950 ramp

primary
#131A71
secondary
#A89F38
accent
#E13AEE
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030E
muted
#7A787E

Preview Lab

Preview with #131A71

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

Preview Lab → · Contrast checker → · Palette generator →

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