#403FAE#403FAE

#403FAE is a dark, vivid blue. Relative luminance 0.077; OKLCH L 44.0% C 0.172 H 277.1°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#403FAE
RGBrgb(64, 63, 174)
HSLhsl(241, 47%, 46%)
HSVhsv(241, 64%, 68%)
CMYKcmyk(63.2%, 63.8%, 0%, 31.8%)
CIE-LABlab(33.35, 34.79, -59.24)
CIE-LCHlch(33.35, 68.70, 300.43°)
OKLaboklab(43.97% 0.0211 -0.1706)
OKLCHoklch(43.97% 0.172 277.1)
XYZxyz(11.5294, 7.7001, 40.9149)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403FAE #ADAE3F
analogous
#3F76AE #403FAE #783FAE
triadic
#403FAE #AE403F #3FAE40
tetradic
#403FAE #AE3F76 #ADAE3F #3FAE78
square
#403FAE #AE3F76 #ADAE3F #3FAE78
split-complementary
#403FAE #AE783F #76AE3F
monochromatic
#1F1E54 #2F2F81 #403FAE #6464C7 #9190D7

Accessibility & contrast

On white

8.27
#403FAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#403FAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403FAE
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403FAE#FFFFFF#000000##FFFFFF
##403FAE1.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B2
Deuteranopia (green-blind)
#004AAC
Tritanopia (blue-blind)
#005B70
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #403fae;
/* rgb */ color: rgb(64, 63, 174);
/* oklch */ color: oklch(44.0% 0.172 277.1);
Tailwind
colors: {
  custom: {
    50: '#8174c7',
    500: '#403fae',
    950: '#000000',
  },
}
SCSS
$custom: #403fae;
$custom-light: #8174c7;
$custom-dark: #000000;
JSON
{
  "hex": "#403fae",
  "rgb": {
    "r": 64,
    "g": 63,
    "b": 174
  },
  "hsl": {
    "h": 240.541,
    "s": 46.835,
    "l": 46.471
  },
  "oklch": {
    "l": 0.43973,
    "c": 0.17194,
    "h": 277.1
  },
  "luminance": 0.07701
}

Semantic roles & 50–950 ramp

primary
#403FAE
secondary
#C2C287
accent
#D651D5
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #403FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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