#403FED#403FED

#403FED is a mid, highly saturated blue. Relative luminance 0.108; OKLCH L 49.9% C 0.250 H 272.9°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#403FED
RGBrgb(64, 63, 237)
HSLhsl(240, 83%, 59%)
HSVhsv(240, 73%, 93%)
CMYKcmyk(73%, 73.4%, 0%, 7.1%)
CIE-LABlab(39.17, 55.44, -86.23)
CIE-LCHlch(39.17, 102.51, 302.74°)
OKLaboklab(49.92% 0.0127 -0.2495)
OKLCHoklch(49.92% 0.25 272.9)
XYZxyz(19.1728, 10.7574, 81.1703)
Luminance0.1076 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403FED #ECED3F
analogous
#3F95ED #403FED #973FED
triadic
#403FED #ED403F #3FED40
tetradic
#403FED #ED3F95 #ECED3F #3FED97
square
#403FED #ED3F95 #ECED3F #3FED97
split-complementary
#403FED #ED973F #95ED3F
monochromatic
#100FA2 #1614DA #403FED #7877F2 #AFAFF7

Accessibility & contrast

On white

6.66
#403FED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#403FED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #403FED
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403FED#FFFFFF#000000##FFFFFF
##403FED1.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065F2
Deuteranopia (green-blind)
#0054EA
Tritanopia (blue-blind)
#007293
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #403fed;
/* rgb */ color: rgb(64, 63, 237);
/* oklch */ color: oklch(49.9% 0.250 272.9);
Tailwind
colors: {
  custom: {
    50: '#8e76f4',
    500: '#403fed',
    950: '#000000',
  },
}
SCSS
$custom: #403fed;
$custom-light: #8e76f4;
$custom-dark: #000000;
JSON
{
  "hex": "#403fed",
  "rgb": {
    "r": 64,
    "g": 63,
    "b": 237
  },
  "hsl": {
    "h": 240.345,
    "s": 82.857,
    "l": 58.824
  },
  "oklch": {
    "l": 0.49922,
    "c": 0.24984,
    "h": 272.9
  },
  "luminance": 0.10759
}

Semantic roles & 50–950 ramp

primary
#403FED
secondary
#E6E6A2
accent
#F92FF8
background
#F9F7FF
surface
#F2EDFF
border
#CCC8D7
text
#0E0917
muted
#7E7B85

Preview Lab

Preview with #403FED

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

Preview Lab → · Contrast checker → · Palette generator →

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