#403499#403499

#403499 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.3% C 0.158 H 282.0°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#403499
RGBrgb(64, 52, 153)
HSLhsl(247, 49%, 40%)
HSVhsv(247, 66%, 60%)
CMYKcmyk(58.2%, 66%, 0%, 40%)
CIE-LABlab(29.02, 34.61, -53.64)
CIE-LCHlch(29.02, 63.84, 302.83°)
OKLaboklab(40.27% 0.0329 -0.1542)
OKLCHoklch(40.27% 0.158 282)
XYZxyz(9.0903, 5.8453, 30.7801)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403499 #8D9934
analogous
#345A99 #403499 #733499
triadic
#403499 #994034 #349940
tetradic
#403499 #99345A #8D9934 #349973
square
#403499 #99345A #8D9934 #349973
split-complementary
#403499 #997334 #5A9934
monochromatic
#1A153E #2D246B #403499 #5749C1 #8177D1

Accessibility & contrast

On white

9.68
#403499 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#403499 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403499
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403499#FFFFFF#000000##FFFFFF
##4034991.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489C
Deuteranopia (green-blind)
#004197
Tritanopia (blue-blind)
#0F4D61
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #403499;
/* rgb */ color: rgb(64, 52, 153);
/* oklch */ color: oklch(40.3% 0.158 282.0);
Tailwind
colors: {
  custom: {
    50: '#7e6cb8',
    500: '#403499',
    950: '#000000',
  },
}
SCSS
$custom: #403499;
$custom-light: #7e6cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#403499",
  "rgb": {
    "r": 64,
    "g": 52,
    "b": 153
  },
  "hsl": {
    "h": 247.129,
    "s": 49.268,
    "l": 40.196
  },
  "oklch": {
    "l": 0.40269,
    "c": 0.15772,
    "h": 282
  },
  "luminance": 0.05846
}

Semantic roles & 50–950 ramp

primary
#403499
secondary
#B0B970
accent
#D94FC8
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0711
muted
#7C7A80

Preview Lab

Preview with #403499

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

Preview Lab → · Contrast checker → · Palette generator →

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