#131752#131752

#131752 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.7% C 0.106 H 272.8°. Best body text is #FFFFFF at 16.51:1 contrast (WCAG AA passes).

Color values

HEX#131752
RGBrgb(19, 23, 82)
HSLhsl(236, 62%, 20%)
HSVhsv(236, 77%, 32%)
CMYKcmyk(76.8%, 72%, 0%, 67.8%)
CIE-LABlab(11.69, 20.89, -36.49)
CIE-LCHlch(11.69, 42.04, 299.79°)
OKLaboklab(24.72% 0.0051 -0.1054)
OKLCHoklch(24.72% 0.106 272.8)
XYZxyz(2.0974, 1.3602, 8.1330)
Luminance0.0136 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131752 #524E13
analogous
#133752 #131752 #2E1352
triadic
#131752 #521317 #175213
tetradic
#131752 #521337 #524E13 #13522E
square
#131752 #521337 #524E13 #13522E
split-complementary
#131752 #522E13 #375213
monochromatic
#060719 #070920 #131752 #1F2584 #2A33B5

Accessibility & contrast

On white

16.51
#131752 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#131752 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131752
16.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131752#FFFFFF#000000##FFFFFF
##1317521.0016.511.2716.51
#FFFFFF16.511.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #131752;
/* rgb */ color: rgb(19, 23, 82);
/* oklch */ color: oklch(24.7% 0.106 272.8);
Tailwind
colors: {
  custom: {
    50: '#5b5483',
    500: '#131752',
    950: '#000000',
  },
}
SCSS
$custom: #131752;
$custom-light: #5b5483;
$custom-dark: #000000;
JSON
{
  "hex": "#131752",
  "rgb": {
    "r": 19,
    "g": 23,
    "b": 82
  },
  "hsl": {
    "h": 236.19,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.24722,
    "c": 0.10554,
    "h": 272.8
  },
  "luminance": 0.0136
}

Semantic roles & 50–950 ramp

primary
#131752
secondary
#8A8536
accent
#DB42E5
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04020B
muted
#79787C

Preview Lab

Preview with #131752

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

Preview Lab → · Contrast checker → · Palette generator →

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