#403EAE#403EAE

#403EAE is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.8% C 0.173 H 277.3°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#403EAE
RGBrgb(64, 62, 174)
HSLhsl(241, 47%, 46%)
HSVhsv(241, 64%, 68%)
CMYKcmyk(63.2%, 64.4%, 0%, 31.8%)
CIE-LABlab(33.11, 35.42, -59.62)
CIE-LCHlch(33.11, 69.35, 300.71°)
OKLaboklab(43.8% 0.022 -0.1718)
OKLCHoklch(43.8% 0.173 277.3)
XYZxyz(11.4745, 7.5903, 40.8966)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403EAE #ACAE3E
analogous
#3E74AE #403EAE #783EAE
triadic
#403EAE #AE403E #3EAE40
tetradic
#403EAE #AE3E74 #ACAE3E #3EAE78
square
#403EAE #AE3E74 #ACAE3E #3EAE78
split-complementary
#403EAE #AE783E #74AE3E
monochromatic
#1F1E54 #2F2E81 #403EAE #6462C7 #918FD7

Accessibility & contrast

On white

8.34
#403EAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#403EAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403EAE
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403EAE#FFFFFF#000000##FFFFFF
##403EAE1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B2
Deuteranopia (green-blind)
#0049AC
Tritanopia (blue-blind)
#005A70
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #403eae;
/* rgb */ color: rgb(64, 62, 174);
/* oklch */ color: oklch(43.8% 0.173 277.3);
Tailwind
colors: {
  custom: {
    50: '#8174c7',
    500: '#403eae',
    950: '#000000',
  },
}
SCSS
$custom: #403eae;
$custom-light: #8174c7;
$custom-dark: #000000;
JSON
{
  "hex": "#403eae",
  "rgb": {
    "r": 64,
    "g": 62,
    "b": 174
  },
  "hsl": {
    "h": 241.071,
    "s": 47.458,
    "l": 46.275
  },
  "oklch": {
    "l": 0.43801,
    "c": 0.17317,
    "h": 277.3
  },
  "luminance": 0.07591
}

Semantic roles & 50–950 ramp

primary
#403EAE
secondary
#C1C286
accent
#D751D5
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #403EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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