#131F90#131F90

#131F90 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.2% C 0.180 H 267.8°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#131F90
RGBrgb(19, 31, 144)
HSLhsl(234, 77%, 32%)
HSVhsv(234, 87%, 56%)
CMYKcmyk(86.8%, 78.5%, 0%, 43.5%)
CIE-LABlab(20.56, 39.15, -62.11)
CIE-LCHlch(20.56, 73.42, 302.22°)
OKLaboklab(33.16% -0.0071 -0.18)
OKLCHoklch(33.16% 0.18 267.8)
XYZxyz(5.7908, 3.1313, 26.6793)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131F90 #908413
analogous
#135E90 #131F90 #461390
triadic
#131F90 #90131F #1F9013
tetradic
#131F90 #90135E #908413 #139046
square
#131F90 #90135E #908413 #139046
split-complementary
#131F90 #904613 #5E9013
monochromatic
#050824 #0C135A #131F90 #1A2BC6 #3949E5

Accessibility & contrast

On white

12.91
#131F90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#131F90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131F90
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131F90#FFFFFF#000000##FFFFFF
##131F901.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003893
Deuteranopia (green-blind)
#002B8E
Tritanopia (blue-blind)
#004157
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #131f90;
/* rgb */ color: rgb(19, 31, 144);
/* oklch */ color: oklch(33.2% 0.180 267.8);
Tailwind
colors: {
  custom: {
    50: '#6d5cb2',
    500: '#131f90',
    950: '#000000',
  },
}
SCSS
$custom: #131f90;
$custom-light: #6d5cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#131f90",
  "rgb": {
    "r": 19,
    "g": 31,
    "b": 144
  },
  "hsl": {
    "h": 234.24,
    "s": 76.687,
    "l": 31.961
  },
  "oklch": {
    "l": 0.33162,
    "c": 0.18017,
    "h": 267.8
  },
  "luminance": 0.03132
}

Semantic roles & 50–950 ramp

primary
#131F90
secondary
#C4B73B
accent
#E135F3
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#080411
muted
#7B7980

Preview Lab

Preview with #131F90

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

Preview Lab → · Contrast checker → · Palette generator →

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