#403EFE#403EFE

#403EFE is a mid, highly saturated blue. Relative luminance 0.117; OKLCH L 51.5% C 0.270 H 272.1°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#403EFE
RGBrgb(64, 62, 254)
HSLhsl(241, 99%, 62%)
HSVhsv(241, 76%, 100%)
CMYKcmyk(74.8%, 75.6%, 0%, 0.4%)
CIE-LABlab(40.72, 61.22, -93.23)
CIE-LCHlch(40.72, 111.53, 303.29°)
OKLaboklab(51.53% 0.01 -0.2698)
OKLCHoklch(51.53% 0.27 272.1)
XYZxyz(21.7203, 11.6887, 94.8581)
Luminance0.1169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403EFE #FCFE3E
analogous
#3E9CFE #403EFE #A03EFE
triadic
#403EFE #FE403E #3EFE40
tetradic
#403EFE #FE3E9C #FCFE3E #3EFEA0
square
#403EFE #FE3E9C #FCFE3E #3EFEA0
split-complementary
#403EFE #FEA03E #9CFE3E
monochromatic
#0301C1 #0401FD #403EFE #7C7BFE #B9B8FF

Accessibility & contrast

On white

6.29
#403EFE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#403EFE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #403EFE
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403EFE#FFFFFF#000000##FFFFFF
##403EFE1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069FF
Deuteranopia (green-blind)
#0056FB
Tritanopia (blue-blind)
#00789C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #403efe;
/* rgb */ color: rgb(64, 62, 254);
/* oklch */ color: oklch(51.5% 0.270 272.1);
Tailwind
colors: {
  custom: {
    50: '#9276ff',
    500: '#403efe',
    950: '#000000',
  },
}
SCSS
$custom: #403efe;
$custom-light: #9276ff;
$custom-dark: #000000;
JSON
{
  "hex": "#403efe",
  "rgb": {
    "r": 64,
    "g": 62,
    "b": 254
  },
  "hsl": {
    "h": 240.625,
    "s": 98.969,
    "l": 61.961
  },
  "oklch": {
    "l": 0.51526,
    "c": 0.27003,
    "h": 272.1
  },
  "luminance": 0.11691
}

Semantic roles & 50–950 ramp

primary
#403EFE
secondary
#EFEFA8
accent
#E600E3
background
#FAF7FF
surface
#F4EDFF
border
#CEC8D7
text
#0F0918
muted
#7F7B86

Preview Lab

Preview with #403EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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