#403FDE#403FDE

#403FDE is a mid, highly saturated blue. Relative luminance 0.099; OKLCH L 48.4% C 0.232 H 273.7°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#403FDE
RGBrgb(64, 63, 222)
HSLhsl(240, 71%, 56%)
HSVhsv(240, 72%, 87%)
CMYKcmyk(71.2%, 71.6%, 0%, 12.9%)
CIE-LABlab(37.69, 50.67, -80.13)
CIE-LCHlch(37.69, 94.81, 302.31°)
OKLaboklab(48.43% 0.0152 -0.2317)
OKLCHoklch(48.43% 0.232 273.7)
XYZxyz(17.0723, 9.9172, 70.1076)
Luminance0.0992 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403FDE #DDDE3F
analogous
#3F8EDE #403FDE #8F3FDE
triadic
#403FDE #DE403F #3FDE40
tetradic
#403FDE #DE3F8E #DDDE3F #3FDE8F
square
#403FDE #DE3F8E #DDDE3F #3FDE8F
split-complementary
#403FDE #DE8F3F #8EDE3F
monochromatic
#19188B #2221BF #403FDE #7473E7 #A8A7F0

Accessibility & contrast

On white

7.04
#403FDE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#403FDE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403FDE
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403FDE#FFFFFF#000000##FFFFFF
##403FDE1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060E3
Deuteranopia (green-blind)
#0051DB
Tritanopia (blue-blind)
#006C8B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #403fde;
/* rgb */ color: rgb(64, 63, 222);
/* oklch */ color: oklch(48.4% 0.232 273.7);
Tailwind
colors: {
  custom: {
    50: '#8b76ea',
    500: '#403fde',
    950: '#000000',
  },
}
SCSS
$custom: #403fde;
$custom-light: #8b76ea;
$custom-dark: #000000;
JSON
{
  "hex": "#403fde",
  "rgb": {
    "r": 64,
    "g": 63,
    "b": 222
  },
  "hsl": {
    "h": 240.377,
    "s": 70.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.48432,
    "c": 0.23225,
    "h": 273.7
  },
  "luminance": 0.09919
}

Semantic roles & 50–950 ramp

primary
#403FDE
secondary
#DDDD9B
accent
#ED3AEC
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #403FDE

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

Preview Lab → · Contrast checker → · Palette generator →

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