#131C90#131C90

#131C90 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.7% C 0.183 H 268.0°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#131C90
RGBrgb(19, 28, 144)
HSLhsl(236, 77%, 32%)
HSVhsv(236, 87%, 56%)
CMYKcmyk(86.8%, 80.6%, 0%, 43.5%)
CIE-LABlab(19.97, 40.85, -63.09)
CIE-LCHlch(19.97, 75.16, 302.92°)
OKLaboklab(32.75% -0.0064 -0.1828)
OKLCHoklch(32.75% 0.183 268)
XYZxyz(5.7161, 2.9819, 26.6544)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131C90 #908713
analogous
#135B90 #131C90 #491390
triadic
#131C90 #90131C #1C9013
tetradic
#131C90 #90135B #908713 #139049
square
#131C90 #90135B #908713 #139049
split-complementary
#131C90 #904913 #5B9013
monochromatic
#050724 #0C115A #131C90 #1A27C6 #3945E5

Accessibility & contrast

On white

13.15
#131C90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#131C90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131C90
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131C90#FFFFFF#000000##FFFFFF
##131C901.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003793
Deuteranopia (green-blind)
#002A8E
Tritanopia (blue-blind)
#004056
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #131c90;
/* rgb */ color: rgb(19, 28, 144);
/* oklch */ color: oklch(32.7% 0.183 268.0);
Tailwind
colors: {
  custom: {
    50: '#6d5ab2',
    500: '#131c90',
    950: '#000000',
  },
}
SCSS
$custom: #131c90;
$custom-light: #6d5ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#131c90",
  "rgb": {
    "r": 19,
    "g": 28,
    "b": 144
  },
  "hsl": {
    "h": 235.68,
    "s": 76.687,
    "l": 31.961
  },
  "oklch": {
    "l": 0.32745,
    "c": 0.18293,
    "h": 268
  },
  "luminance": 0.02983
}

Semantic roles & 50–950 ramp

primary
#131C90
secondary
#C4BA3B
accent
#E635F3
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #131C90

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

Preview Lab → · Contrast checker → · Palette generator →

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