#131790#131790

#131790 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.1% C 0.187 H 268.3°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#131790
RGBrgb(19, 23, 144)
HSLhsl(238, 77%, 32%)
HSVhsv(238, 87%, 56%)
CMYKcmyk(86.8%, 84%, 0%, 43.5%)
CIE-LABlab(19.07, 43.46, -64.58)
CIE-LCHlch(19.07, 77.85, 303.94°)
OKLaboklab(32.12% -0.0056 -0.187)
OKLCHoklch(32.12% 0.187 268.3)
XYZxyz(5.6073, 2.7642, 26.6182)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131790 #908C13
analogous
#135690 #131790 #4E1390
triadic
#131790 #901317 #179013
tetradic
#131790 #901356 #908C13 #13904E
square
#131790 #901356 #908C13 #13904E
split-complementary
#131790 #904E13 #569013
monochromatic
#050624 #0C0E5A #131790 #1A20C6 #393EE5

Accessibility & contrast

On white

13.52
#131790 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#131790 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131790
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131790#FFFFFF#000000##FFFFFF
##1317901.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003593
Deuteranopia (green-blind)
#00288E
Tritanopia (blue-blind)
#003E55
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #131790;
/* rgb */ color: rgb(19, 23, 144);
/* oklch */ color: oklch(32.1% 0.187 268.3);
Tailwind
colors: {
  custom: {
    50: '#6d58b2',
    500: '#131790',
    950: '#000000',
  },
}
SCSS
$custom: #131790;
$custom-light: #6d58b2;
$custom-dark: #000000;
JSON
{
  "hex": "#131790",
  "rgb": {
    "r": 19,
    "g": 23,
    "b": 144
  },
  "hsl": {
    "h": 238.08,
    "s": 76.687,
    "l": 31.961
  },
  "oklch": {
    "l": 0.32118,
    "c": 0.18712,
    "h": 268.3
  },
  "luminance": 0.02765
}

Semantic roles & 50–950 ramp

primary
#131790
secondary
#C4BF3B
accent
#ED35F3
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #131790

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

Preview Lab → · Contrast checker → · Palette generator →

#131790 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva