#403CD2#403CD2

#403CD2 is a mid, highly saturated blue. Relative luminance 0.090; OKLCH L 46.8% C 0.221 H 274.9°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#403CD2
RGBrgb(64, 60, 210)
HSLhsl(242, 63%, 53%)
HSVhsv(242, 71%, 82%)
CMYKcmyk(69.5%, 71.4%, 0%, 17.6%)
CIE-LABlab(35.93, 48.49, -76.13)
CIE-LCHlch(35.93, 90.26, 302.50°)
OKLaboklab(46.83% 0.0188 -0.2201)
OKLCHoklch(46.83% 0.221 274.9)
XYZxyz(15.3592, 8.9734, 61.8829)
Luminance0.0897 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403CD2 #CED23C
analogous
#3C83D2 #403CD2 #8B3CD2
triadic
#403CD2 #D2403C #3CD240
tetradic
#403CD2 #D23C83 #CED23C #3CD28B
square
#403CD2 #D23C83 #CED23C #3CD28B
split-complementary
#403CD2 #D28B3C #83D23C
monochromatic
#1E1C78 #2B27AA #403CD2 #716EDD #A19FE9

Accessibility & contrast

On white

7.51
#403CD2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#403CD2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403CD2
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403CD2#FFFFFF#000000##FFFFFF
##403CD21.007.512.797.51
#FFFFFF7.511.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BD6
Deuteranopia (green-blind)
#004ECF
Tritanopia (blue-blind)
#006683
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #403cd2;
/* rgb */ color: rgb(64, 60, 210);
/* oklch */ color: oklch(46.8% 0.221 274.9);
Tailwind
colors: {
  custom: {
    50: '#8973e1',
    500: '#403cd2',
    950: '#000000',
  },
}
SCSS
$custom: #403cd2;
$custom-light: #8973e1;
$custom-dark: #000000;
JSON
{
  "hex": "#403cd2",
  "rgb": {
    "r": 64,
    "g": 60,
    "b": 210
  },
  "hsl": {
    "h": 241.6,
    "s": 62.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.46828,
    "c": 0.22087,
    "h": 274.9
  },
  "luminance": 0.08975
}

Semantic roles & 50–950 ramp

primary
#403CD2
secondary
#D4D594
accent
#E642E1
background
#F9F7FE
surface
#F1EDFC
border
#CBC8D5
text
#0D0815
muted
#7E7B84

Preview Lab

Preview with #403CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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