#403490#403490

#403490 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.5% C 0.146 H 283.4°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#403490
RGBrgb(64, 52, 144)
HSLhsl(248, 47%, 38%)
HSVhsv(248, 64%, 56%)
CMYKcmyk(55.6%, 63.9%, 0%, 43.5%)
CIE-LABlab(28.27, 31.67, -49.34)
CIE-LCHlch(28.27, 58.63, 302.69°)
OKLaboklab(39.49% 0.0338 -0.1416)
OKLCHoklch(39.49% 0.146 283.4)
XYZxyz(8.3748, 5.5591, 27.0119)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403490 #849034
analogous
#345690 #403490 #6E3490
triadic
#403490 #904034 #349040
tetradic
#403490 #903456 #849034 #34906E
square
#403490 #903456 #849034 #34906E
split-complementary
#403490 #906E34 #569034
monochromatic
#181436 #2C2463 #403490 #5545BC #7E72CC

Accessibility & contrast

On white

9.94
#403490 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#403490 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403490
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403490#FFFFFF#000000##FFFFFF
##4034901.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004693
Deuteranopia (green-blind)
#00408E
Tritanopia (blue-blind)
#1C4A5D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #403490;
/* rgb */ color: rgb(64, 52, 144);
/* oklch */ color: oklch(39.5% 0.146 283.4);
Tailwind
colors: {
  custom: {
    50: '#7d6cb1',
    500: '#403490',
    950: '#000000',
  },
}
SCSS
$custom: #403490;
$custom-light: #7d6cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#403490",
  "rgb": {
    "r": 64,
    "g": 52,
    "b": 144
  },
  "hsl": {
    "h": 247.826,
    "s": 46.939,
    "l": 38.431
  },
  "oklch": {
    "l": 0.39492,
    "c": 0.14558,
    "h": 283.4
  },
  "luminance": 0.0556
}

Semantic roles & 50–950 ramp

primary
#403490
secondary
#ABB46B
accent
#D751C5
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #403490

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

Preview Lab → · Contrast checker → · Palette generator →

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