#131F51#131F51

#131F51 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.3% C 0.093 H 268.9°. Best body text is #FFFFFF at 15.64:1 contrast (WCAG AA passes).

Color values

HEX#131F51
RGBrgb(19, 31, 81)
HSLhsl(228, 62%, 20%)
HSVhsv(228, 77%, 32%)
CMYKcmyk(76.5%, 61.7%, 0%, 68.2%)
CIE-LABlab(13.90, 14.55, -32.20)
CIE-LCHlch(13.90, 35.34, 294.31°)
OKLaboklab(26.33% -0.0018 -0.0928)
OKLCHoklch(26.33% 0.093 268.9)
XYZxyz(2.2432, 1.7123, 7.9953)
Luminance0.0171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131F51 #514513
analogous
#133E51 #131F51 #261351
triadic
#131F51 #51131F #1F5113
tetradic
#131F51 #51133E #514513 #135126
square
#131F51 #51133E #514513 #135126
split-complementary
#131F51 #512613 #3E5113
monochromatic
#060919 #070C1F #131F51 #1F3283 #2A45B4

Accessibility & contrast

On white

15.64
#131F51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#131F51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131F51
15.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131F51#FFFFFF#000000##FFFFFF
##131F511.0015.641.3415.64
#FFFFFF15.641.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002653
Deuteranopia (green-blind)
#002150
Tritanopia (blue-blind)
#002B34
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #131f51;
/* rgb */ color: rgb(19, 31, 81);
/* oklch */ color: oklch(26.3% 0.093 268.9);
Tailwind
colors: {
  custom: {
    50: '#5a5a82',
    500: '#131f51',
    950: '#000000',
  },
}
SCSS
$custom: #131f51;
$custom-light: #5a5a82;
$custom-dark: #000000;
JSON
{
  "hex": "#131f51",
  "rgb": {
    "r": 19,
    "g": 31,
    "b": 81
  },
  "hsl": {
    "h": 228.387,
    "s": 62,
    "l": 19.608
  },
  "oklch": {
    "l": 0.26325,
    "c": 0.09278,
    "h": 268.9
  },
  "luminance": 0.01713
}

Semantic roles & 50–950 ramp

primary
#131F51
secondary
#8A7936
accent
#C643E5
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030A
muted
#79787C

Preview Lab

Preview with #131F51

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

Preview Lab → · Contrast checker → · Palette generator →

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