#131C51#131C51

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

Color values

HEX#131C51
RGBrgb(19, 28, 81)
HSLhsl(231, 62%, 20%)
HSVhsv(231, 77%, 32%)
CMYKcmyk(76.5%, 65.4%, 0%, 68.2%)
CIE-LABlab(13.00, 16.80, -33.66)
CIE-LCHlch(13.00, 37.62, 296.53°)
OKLaboklab(25.66% 0.001 -0.0971)
OKLCHoklch(25.66% 0.097 270.6)
XYZxyz(2.1685, 1.5628, 7.9704)
Luminance0.0156 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131C51 #514813
analogous
#133B51 #131C51 #291351
triadic
#131C51 #51131C #1C5113
tetradic
#131C51 #51133B #514813 #135129
square
#131C51 #51133B #514813 #135129
split-complementary
#131C51 #512913 #3B5113
monochromatic
#060919 #070B1F #131C51 #1F2D83 #2A3EB4

Accessibility & contrast

On white

16.00
#131C51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #131C51
16.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131C51#FFFFFF#000000##FFFFFF
##131C511.0016.001.3116.00
#FFFFFF16.001.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002453
Deuteranopia (green-blind)
#001F50
Tritanopia (blue-blind)
#002933
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #131c51;
/* rgb */ color: rgb(19, 28, 81);
/* oklch */ color: oklch(25.7% 0.097 270.6);
Tailwind
colors: {
  custom: {
    50: '#5b5782',
    500: '#131c51',
    950: '#000000',
  },
}
SCSS
$custom: #131c51;
$custom-light: #5b5782;
$custom-dark: #000000;
JSON
{
  "hex": "#131c51",
  "rgb": {
    "r": 19,
    "g": 28,
    "b": 81
  },
  "hsl": {
    "h": 231.29,
    "s": 62,
    "l": 19.608
  },
  "oklch": {
    "l": 0.25657,
    "c": 0.0971,
    "h": 270.6
  },
  "luminance": 0.01563
}

Semantic roles & 50–950 ramp

primary
#131C51
secondary
#8A7D36
accent
#CE43E5
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030A
muted
#79787C

Preview Lab

Preview with #131C51

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

Preview Lab → · Contrast checker → · Palette generator →

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