#131C52#131C52

#131C52 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.8% C 0.099 H 270.6°. Best body text is #FFFFFF at 15.96:1 contrast (WCAG AA passes).

Color values

HEX#131C52
RGBrgb(19, 28, 82)
HSLhsl(231, 62%, 20%)
HSVhsv(231, 77%, 32%)
CMYKcmyk(76.8%, 65.9%, 0%, 67.8%)
CIE-LABlab(13.10, 17.22, -34.19)
CIE-LCHlch(13.10, 38.28, 296.73°)
OKLaboklab(25.76% 0.001 -0.0986)
OKLCHoklch(25.76% 0.099 270.6)
XYZxyz(2.2063, 1.5779, 8.1693)
Luminance0.0158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131C52 #524913
analogous
#133B52 #131C52 #2A1352
triadic
#131C52 #52131C #1C5213
tetradic
#131C52 #52133B #524913 #13522A
square
#131C52 #52133B #524913 #13522A
split-complementary
#131C52 #522A13 #3B5213
monochromatic
#060819 #070B20 #131C52 #1F2D84 #2A3EB5

Accessibility & contrast

On white

15.96
#131C52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#131C52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131C52
15.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131C52#FFFFFF#000000##FFFFFF
##131C521.0015.961.3215.96
#FFFFFF15.961.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002554
Deuteranopia (green-blind)
#001F51
Tritanopia (blue-blind)
#002A33
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #131c52;
/* rgb */ color: rgb(19, 28, 82);
/* oklch */ color: oklch(25.8% 0.099 270.6);
Tailwind
colors: {
  custom: {
    50: '#5b5783',
    500: '#131c52',
    950: '#000000',
  },
}
SCSS
$custom: #131c52;
$custom-light: #5b5783;
$custom-dark: #000000;
JSON
{
  "hex": "#131c52",
  "rgb": {
    "r": 19,
    "g": 28,
    "b": 82
  },
  "hsl": {
    "h": 231.429,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.25755,
    "c": 0.09864,
    "h": 270.6
  },
  "luminance": 0.01578
}

Semantic roles & 50–950 ramp

primary
#131C52
secondary
#8A7E36
accent
#CE42E5
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #131C52

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

Preview Lab → · Contrast checker → · Palette generator →

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