#403190#403190

#403190 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.0% C 0.150 H 284.3°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#403190
RGBrgb(64, 49, 144)
HSLhsl(249, 49%, 38%)
HSVhsv(249, 66%, 56%)
CMYKcmyk(55.6%, 66%, 0%, 43.5%)
CIE-LABlab(27.57, 33.53, -50.48)
CIE-LCHlch(27.57, 60.60, 303.59°)
OKLaboklab(38.98% 0.0368 -0.145)
OKLCHoklch(38.98% 0.15 284.3)
XYZxyz(8.2452, 5.2998, 26.9686)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403190 #819031
analogous
#315190 #403190 #703190
triadic
#403190 #904031 #319040
tetradic
#403190 #903151 #819031 #319070
square
#403190 #903151 #819031 #319070
split-complementary
#403190 #907031 #519031
monochromatic
#171235 #2C2162 #403190 #5441BE #7D6ECE

Accessibility & contrast

On white

10.19
#403190 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#403190 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403190
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403190#FFFFFF#000000##FFFFFF
##4031901.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004493
Deuteranopia (green-blind)
#003E8E
Tritanopia (blue-blind)
#1D495C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #403190;
/* rgb */ color: rgb(64, 49, 144);
/* oklch */ color: oklch(39.0% 0.150 284.3);
Tailwind
colors: {
  custom: {
    50: '#7d6ab1',
    500: '#403190',
    950: '#000000',
  },
}
SCSS
$custom: #403190;
$custom-light: #7d6ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#403190",
  "rgb": {
    "r": 64,
    "g": 49,
    "b": 144
  },
  "hsl": {
    "h": 249.474,
    "s": 49.223,
    "l": 37.843
  },
  "oklch": {
    "l": 0.38983,
    "c": 0.14958,
    "h": 284.3
  },
  "luminance": 0.053
}

Semantic roles & 50–950 ramp

primary
#403190
secondary
#A9B568
accent
#D94FC3
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #403190

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

Preview Lab → · Contrast checker → · Palette generator →

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