#131B52#131B52

#131B52 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.5% C 0.100 H 271.1°. Best body text is #FFFFFF at 16.07:1 contrast (WCAG AA passes).

Color values

HEX#131B52
RGBrgb(19, 27, 82)
HSLhsl(232, 62%, 20%)
HSVhsv(232, 77%, 32%)
CMYKcmyk(76.8%, 67.1%, 0%, 67.8%)
CIE-LABlab(12.81, 17.96, -34.66)
CIE-LCHlch(12.81, 39.04, 297.40°)
OKLaboklab(25.54% 0.0019 -0.1)
OKLCHoklch(25.54% 0.1 271.1)
XYZxyz(2.1830, 1.5313, 8.1615)
Luminance0.0153 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131B52 #524A13
analogous
#133B52 #131B52 #2B1352
triadic
#131B52 #52131B #1B5213
tetradic
#131B52 #52133B #524A13 #13522B
square
#131B52 #52133B #524A13 #13522B
split-complementary
#131B52 #522B13 #3B5213
monochromatic
#060819 #070B20 #131B52 #1F2B84 #2A3CB5

Accessibility & contrast

On white

16.07
#131B52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#131B52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131B52
16.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131B52#FFFFFF#000000##FFFFFF
##131B521.0016.071.3116.07
#FFFFFF16.071.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #131b52;
/* rgb */ color: rgb(19, 27, 82);
/* oklch */ color: oklch(25.5% 0.100 271.1);
Tailwind
colors: {
  custom: {
    50: '#5b5783',
    500: '#131b52',
    950: '#000000',
  },
}
SCSS
$custom: #131b52;
$custom-light: #5b5783;
$custom-dark: #000000;
JSON
{
  "hex": "#131b52",
  "rgb": {
    "r": 19,
    "g": 27,
    "b": 82
  },
  "hsl": {
    "h": 232.381,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.25541,
    "c": 0.10006,
    "h": 271.1
  },
  "luminance": 0.01532
}

Semantic roles & 50–950 ramp

primary
#131B52
secondary
#8A8036
accent
#D142E5
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #131B52

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

Preview Lab → · Contrast checker → · Palette generator →

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