#403ECA#403ECA

#403ECA is a mid, highly saturated blue. Relative luminance 0.088; OKLCH L 46.4% C 0.209 H 275.2°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#403ECA
RGBrgb(64, 62, 202)
HSLhsl(241, 57%, 52%)
HSVhsv(241, 69%, 79%)
CMYKcmyk(68.3%, 69.3%, 0%, 20.8%)
CIE-LABlab(35.59, 44.75, -72.05)
CIE-LCHlch(35.59, 84.81, 301.84°)
OKLaboklab(46.36% 0.0188 -0.2082)
OKLCHoklch(46.36% 0.209 275.2)
XYZxyz(14.4941, 8.7982, 56.8000)
Luminance0.0880 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403ECA #C8CA3E
analogous
#3E82CA #403ECA #863ECA
triadic
#403ECA #CA403E #3ECA40
tetradic
#403ECA #CA3E82 #C8CA3E #3ECA86
square
#403ECA #CA3E82 #C8CA3E #3ECA86
split-complementary
#403ECA #CA863E #82CA3E
monochromatic
#201F6F #2D2C9F #403ECA #706ED7 #9F9EE4

Accessibility & contrast

On white

7.61
#403ECA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#403ECA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403ECA
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403ECA#FFFFFF#000000##FFFFFF
##403ECA1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACE
Deuteranopia (green-blind)
#004DC7
Tritanopia (blue-blind)
#00647F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #403eca;
/* rgb */ color: rgb(64, 62, 202);
/* oklch */ color: oklch(46.4% 0.209 275.2);
Tailwind
colors: {
  custom: {
    50: '#8774db',
    500: '#403eca',
    950: '#000000',
  },
}
SCSS
$custom: #403eca;
$custom-light: #8774db;
$custom-dark: #000000;
JSON
{
  "hex": "#403eca",
  "rgb": {
    "r": 64,
    "g": 62,
    "b": 202
  },
  "hsl": {
    "h": 240.857,
    "s": 56.911,
    "l": 51.765
  },
  "oklch": {
    "l": 0.46356,
    "c": 0.20901,
    "h": 275.2
  },
  "luminance": 0.088
}

Semantic roles & 50–950 ramp

primary
#403ECA
secondary
#D0D193
accent
#E048DE
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #403ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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