#131A72#131A72

#131A72 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.9% C 0.147 H 269.6°. Best body text is #FFFFFF at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#131A72
RGBrgb(19, 26, 114)
HSLhsl(236, 71%, 26%)
HSVhsv(236, 83%, 45%)
CMYKcmyk(83.3%, 77.2%, 0%, 55.3%)
CIE-LABlab(15.96, 31.30, -50.71)
CIE-LCHlch(15.96, 59.59, 301.68°)
OKLaboklab(28.86% -0.0009 -0.1469)
OKLCHoklch(28.86% 0.147 269.6)
XYZxyz(3.6742, 2.0917, 16.1264)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131A72 #726B13
analogous
#134972 #131A72 #3B1372
triadic
#131A72 #72131A #1A7213
tetradic
#131A72 #721349 #726B13 #13723B
square
#131A72 #721349 #726B13 #13723B
split-complementary
#131A72 #723B13 #497213
monochromatic
#04061A #0A0E3E #131A72 #1C26A6 #2532DB

Accessibility & contrast

On white

14.81
#131A72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#131A72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131A72
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131A72#FFFFFF#000000##FFFFFF
##131A721.0014.811.4214.81
#FFFFFF14.811.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C75
Deuteranopia (green-blind)
#002370
Tritanopia (blue-blind)
#003444
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #131a72;
/* rgb */ color: rgb(19, 26, 114);
/* oklch */ color: oklch(28.9% 0.147 269.6);
Tailwind
colors: {
  custom: {
    50: '#64579c',
    500: '#131a72',
    950: '#000000',
  },
}
SCSS
$custom: #131a72;
$custom-light: #64579c;
$custom-dark: #000000;
JSON
{
  "hex": "#131a72",
  "rgb": {
    "r": 19,
    "g": 26,
    "b": 114
  },
  "hsl": {
    "h": 235.579,
    "s": 71.429,
    "l": 26.078
  },
  "oklch": {
    "l": 0.2886,
    "c": 0.1469,
    "h": 269.6
  },
  "luminance": 0.02092
}

Semantic roles & 50–950 ramp

primary
#131A72
secondary
#A9A038
accent
#E13AEE
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #131A72

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

Preview Lab → · Contrast checker → · Palette generator →

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