#131A52#131A52

#131A52 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.3% C 0.101 H 271.5°. Best body text is #FFFFFF at 16.19:1 contrast (WCAG AA passes).

Color values

HEX#131A52
RGBrgb(19, 26, 82)
HSLhsl(233, 62%, 20%)
HSVhsv(233, 77%, 32%)
CMYKcmyk(76.8%, 68.3%, 0%, 67.8%)
CIE-LABlab(12.52, 18.70, -35.13)
CIE-LCHlch(12.52, 39.80, 298.03°)
OKLaboklab(25.33% 0.0027 -0.1014)
OKLCHoklch(25.33% 0.101 271.5)
XYZxyz(2.1604, 1.4862, 8.1540)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131A52 #524B13
analogous
#133A52 #131A52 #2B1352
triadic
#131A52 #52131A #1A5213
tetradic
#131A52 #52133A #524B13 #13522B
square
#131A52 #52133A #524B13 #13522B
split-complementary
#131A52 #522B13 #3A5213
monochromatic
#060819 #070A20 #131A52 #1F2A84 #2A3AB5

Accessibility & contrast

On white

16.19
#131A52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#131A52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131A52
16.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131A52#FFFFFF#000000##FFFFFF
##131A521.0016.191.3016.19
#FFFFFF16.191.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002454
Deuteranopia (green-blind)
#001E51
Tritanopia (blue-blind)
#002833
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #131a52;
/* rgb */ color: rgb(19, 26, 82);
/* oklch */ color: oklch(25.3% 0.101 271.5);
Tailwind
colors: {
  custom: {
    50: '#5b5683',
    500: '#131a52',
    950: '#000000',
  },
}
SCSS
$custom: #131a52;
$custom-light: #5b5683;
$custom-dark: #000000;
JSON
{
  "hex": "#131a52",
  "rgb": {
    "r": 19,
    "g": 26,
    "b": 82
  },
  "hsl": {
    "h": 233.333,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.2533,
    "c": 0.10146,
    "h": 271.5
  },
  "luminance": 0.01486
}

Semantic roles & 50–950 ramp

primary
#131A52
secondary
#8A8136
accent
#D342E5
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #131A52

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

Preview Lab → · Contrast checker → · Palette generator →

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