#403ED3#403ED3

#403ED3 is a mid, highly saturated blue. Relative luminance 0.092; OKLCH L 47.2% C 0.220 H 274.6°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#403ED3
RGBrgb(64, 62, 211)
HSLhsl(241, 63%, 54%)
HSVhsv(241, 71%, 83%)
CMYKcmyk(69.7%, 70.6%, 0%, 17.3%)
CIE-LABlab(36.44, 47.69, -75.88)
CIE-LCHlch(36.44, 89.62, 302.15°)
OKLaboklab(47.22% 0.0175 -0.2193)
OKLCHoklch(47.22% 0.22 274.6)
XYZxyz(15.5910, 9.2369, 62.5766)
Luminance0.0924 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403ED3 #D1D33E
analogous
#3E86D3 #403ED3 #8A3ED3
triadic
#403ED3 #D3403E #3ED340
tetradic
#403ED3 #D33E86 #D1D33E #3ED38A
square
#403ED3 #D33E86 #D1D33E #3ED38A
split-complementary
#403ED3 #D38A3E #86D33E
monochromatic
#1D1C7B #2927AC #403ED3 #7170DE #A3A2EA

Accessibility & contrast

On white

7.37
#403ED3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#403ED3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403ED3
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403ED3#FFFFFF#000000##FFFFFF
##403ED31.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD7
Deuteranopia (green-blind)
#004FD0
Tritanopia (blue-blind)
#006784
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #403ed3;
/* rgb */ color: rgb(64, 62, 211);
/* oklch */ color: oklch(47.2% 0.220 274.6);
Tailwind
colors: {
  custom: {
    50: '#8975e2',
    500: '#403ed3',
    950: '#000000',
  },
}
SCSS
$custom: #403ed3;
$custom-light: #8975e2;
$custom-dark: #000000;
JSON
{
  "hex": "#403ed3",
  "rgb": {
    "r": 64,
    "g": 62,
    "b": 211
  },
  "hsl": {
    "h": 240.805,
    "s": 62.869,
    "l": 53.529
  },
  "oklch": {
    "l": 0.47217,
    "c": 0.22003,
    "h": 274.6
  },
  "luminance": 0.09238
}

Semantic roles & 50–950 ramp

primary
#403ED3
secondary
#D5D696
accent
#E642E4
background
#F9F7FE
surface
#F1EDFC
border
#CBC8D5
text
#0D0816
muted
#7E7B84

Preview Lab

Preview with #403ED3

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

Preview Lab → · Contrast checker → · Palette generator →

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