#403AA9#403AA9

#403AA9 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.7% C 0.171 H 278.7°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#403AA9
RGBrgb(64, 58, 169)
HSLhsl(243, 49%, 45%)
HSVhsv(243, 66%, 66%)
CMYKcmyk(62.1%, 65.7%, 0%, 33.7%)
CIE-LABlab(31.76, 36.21, -58.84)
CIE-LCHlch(31.76, 69.09, 301.61°)
OKLaboklab(42.68% 0.0258 -0.1695)
OKLCHoklch(42.68% 0.171 278.7)
XYZxyz(10.7865, 6.9799, 38.3073)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403AA9 #A3A93A
analogous
#3A6CA9 #403AA9 #783AA9
triadic
#403AA9 #A9403A #3AA940
tetradic
#403AA9 #A93A6C #A3A93A #3AA978
square
#403AA9 #A93A6C #A3A93A #3AA978
split-complementary
#403AA9 #A9783A #6CA93A
monochromatic
#1D1B4E #2F2A7B #403AA9 #605AC6 #8C87D6

Accessibility & contrast

On white

8.76
#403AA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#403AA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403AA9
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403AA9#FFFFFF#000000##FFFFFF
##403AA91.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAC
Deuteranopia (green-blind)
#0046A7
Tritanopia (blue-blind)
#00566C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #403aa9;
/* rgb */ color: rgb(64, 58, 169);
/* oklch */ color: oklch(42.7% 0.171 278.7);
Tailwind
colors: {
  custom: {
    50: '#8171c3',
    500: '#403aa9',
    950: '#000000',
  },
}
SCSS
$custom: #403aa9;
$custom-light: #8171c3;
$custom-dark: #000000;
JSON
{
  "hex": "#403aa9",
  "rgb": {
    "r": 64,
    "g": 58,
    "b": 169
  },
  "hsl": {
    "h": 243.243,
    "s": 48.899,
    "l": 44.51
  },
  "oklch": {
    "l": 0.42684,
    "c": 0.17147,
    "h": 278.7
  },
  "luminance": 0.06981
}

Semantic roles & 50–950 ramp

primary
#403AA9
secondary
#BDC07F
accent
#D84FD1
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #403AA9

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

Preview Lab → · Contrast checker → · Palette generator →

#403AA9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva