#403FAA#403FAA

#403FAA is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.6% C 0.167 H 277.4°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#403FAA
RGBrgb(64, 63, 170)
HSLhsl(241, 46%, 46%)
HSVhsv(241, 63%, 67%)
CMYKcmyk(62.4%, 62.9%, 0%, 33.3%)
CIE-LABlab(33.02, 33.44, -57.39)
CIE-LCHlch(33.02, 66.42, 300.23°)
OKLaboklab(43.63% 0.0214 -0.1652)
OKLCHoklch(43.63% 0.167 277.4)
XYZxyz(11.1452, 7.5464, 38.8917)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403FAA #A9AA3F
analogous
#3F73AA #403FAA #753FAA
triadic
#403FAA #AA403F #3FAA40
tetradic
#403FAA #AA3F73 #A9AA3F #3FAA75
square
#403FAA #AA3F73 #A9AA3F #3FAA75
split-complementary
#403FAA #AA753F #73AA3F
monochromatic
#1E1E51 #2F2E7D #403FAA #6262C5 #8F8ED5

Accessibility & contrast

On white

8.37
#403FAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#403FAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403FAA
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403FAA#FFFFFF#000000##FFFFFF
##403FAA1.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AD
Deuteranopia (green-blind)
#0049A8
Tritanopia (blue-blind)
#005A6E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #403faa;
/* rgb */ color: rgb(64, 63, 170);
/* oklch */ color: oklch(43.6% 0.167 277.4);
Tailwind
colors: {
  custom: {
    50: '#8174c4',
    500: '#403faa',
    950: '#000000',
  },
}
SCSS
$custom: #403faa;
$custom-light: #8174c4;
$custom-dark: #000000;
JSON
{
  "hex": "#403faa",
  "rgb": {
    "r": 64,
    "g": 63,
    "b": 170
  },
  "hsl": {
    "h": 240.561,
    "s": 45.923,
    "l": 45.686
  },
  "oklch": {
    "l": 0.43629,
    "c": 0.16659,
    "h": 277.4
  },
  "luminance": 0.07547
}

Semantic roles & 50–950 ramp

primary
#403FAA
secondary
#C0C085
accent
#D652D4
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #403FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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