#131F52#131F52

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

Color values

HEX#131F52
RGBrgb(19, 31, 82)
HSLhsl(229, 62%, 20%)
HSVhsv(229, 77%, 32%)
CMYKcmyk(76.8%, 62.2%, 0%, 67.8%)
CIE-LABlab(13.99, 14.97, -32.74)
CIE-LCHlch(13.99, 36.00, 294.57°)
OKLaboklab(26.42% -0.0017 -0.0943)
OKLCHoklch(26.42% 0.094 268.9)
XYZxyz(2.2810, 1.7274, 8.1942)
Luminance0.0173 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131F52 #524613
analogous
#133F52 #131F52 #261352
triadic
#131F52 #52131F #1F5213
tetradic
#131F52 #52133F #524613 #135226
square
#131F52 #52133F #524613 #135226
split-complementary
#131F52 #522613 #3F5213
monochromatic
#060919 #070C20 #131F52 #1F3284 #2A45B5

Accessibility & contrast

On white

15.61
#131F52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#131F52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131F52
15.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131F52#FFFFFF#000000##FFFFFF
##131F521.0015.611.3515.61
#FFFFFF15.611.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002754
Deuteranopia (green-blind)
#002151
Tritanopia (blue-blind)
#002C35
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #131f52;
/* rgb */ color: rgb(19, 31, 82);
/* oklch */ color: oklch(26.4% 0.094 268.9);
Tailwind
colors: {
  custom: {
    50: '#5b5a83',
    500: '#131f52',
    950: '#000000',
  },
}
SCSS
$custom: #131f52;
$custom-light: #5b5a83;
$custom-dark: #000000;
JSON
{
  "hex": "#131f52",
  "rgb": {
    "r": 19,
    "g": 31,
    "b": 82
  },
  "hsl": {
    "h": 228.571,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.26419,
    "c": 0.09436,
    "h": 268.9
  },
  "luminance": 0.01728
}

Semantic roles & 50–950 ramp

primary
#131F52
secondary
#8A7A36
accent
#C642E5
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #131F52

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

Preview Lab → · Contrast checker → · Palette generator →

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