#131F53#131F53

#131F53 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.5% C 0.096 H 269.0°. Best body text is #FFFFFF at 15.57:1 contrast (WCAG AA passes).

Color values

HEX#131F53
RGBrgb(19, 31, 83)
HSLhsl(229, 63%, 20%)
HSVhsv(229, 77%, 33%)
CMYKcmyk(77.1%, 62.7%, 0%, 67.5%)
CIE-LABlab(14.07, 15.39, -33.27)
CIE-LCHlch(14.07, 36.66, 294.83°)
OKLaboklab(26.51% -0.0017 -0.0959)
OKLCHoklch(26.51% 0.096 269)
XYZxyz(2.3193, 1.7427, 8.3961)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131F53 #534713
analogous
#133F53 #131F53 #271353
triadic
#131F53 #53131F #1F5313
tetradic
#131F53 #53133F #534713 #135327
square
#131F53 #53133F #534713 #135327
split-complementary
#131F53 #532713 #3F5313
monochromatic
#060919 #080C21 #131F53 #1E3285 #2A44B7

Accessibility & contrast

On white

15.57
#131F53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #131F53
15.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131F53#FFFFFF#000000##FFFFFF
##131F531.0015.571.3515.57
#FFFFFF15.571.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #131f53;
/* rgb */ color: rgb(19, 31, 83);
/* oklch */ color: oklch(26.5% 0.096 269.0);
Tailwind
colors: {
  custom: {
    50: '#5b5a84',
    500: '#131f53',
    950: '#000000',
  },
}
SCSS
$custom: #131f53;
$custom-light: #5b5a84;
$custom-dark: #000000;
JSON
{
  "hex": "#131f53",
  "rgb": {
    "r": 19,
    "g": 31,
    "b": 83
  },
  "hsl": {
    "h": 228.75,
    "s": 62.745,
    "l": 20
  },
  "oklch": {
    "l": 0.26512,
    "c": 0.09592,
    "h": 269
  },
  "luminance": 0.01743
}

Semantic roles & 50–950 ramp

primary
#131F53
secondary
#8B7B36
accent
#C742E6
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #131F53

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

Preview Lab → · Contrast checker → · Palette generator →

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