#403CD6#403CD6

#403CD6 is a mid, highly saturated blue. Relative luminance 0.092; OKLCH L 47.2% C 0.226 H 274.6°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#403CD6
RGBrgb(64, 60, 214)
HSLhsl(242, 65%, 54%)
HSVhsv(242, 72%, 84%)
CMYKcmyk(70.1%, 72%, 0%, 16.1%)
CIE-LABlab(36.32, 49.78, -77.80)
CIE-LCHlch(36.32, 92.36, 302.61°)
OKLaboklab(47.22% 0.0181 -0.2249)
OKLCHoklch(47.22% 0.226 274.6)
XYZxyz(15.8638, 9.1752, 64.5403)
Luminance0.0918 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403CD6 #D2D63C
analogous
#3C85D6 #403CD6 #8D3CD6
triadic
#403CD6 #D6403C #3CD640
tetradic
#403CD6 #D63C85 #D2D63C #3CD68D
square
#403CD6 #D63C85 #D2D63C #3CD68D
split-complementary
#403CD6 #D68D3C #85D63C
monochromatic
#1D1A7D #2925B0 #403CD6 #726FE1 #A3A1EB

Accessibility & contrast

On white

7.41
#403CD6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#403CD6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403CD6
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403CD6#FFFFFF#000000##FFFFFF
##403CD61.007.412.847.41
#FFFFFF7.411.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CDB
Deuteranopia (green-blind)
#004ED3
Tritanopia (blue-blind)
#006885
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #403cd6;
/* rgb */ color: rgb(64, 60, 214);
/* oklch */ color: oklch(47.2% 0.226 274.6);
Tailwind
colors: {
  custom: {
    50: '#8a73e4',
    500: '#403cd6',
    950: '#000000',
  },
}
SCSS
$custom: #403cd6;
$custom-light: #8a73e4;
$custom-dark: #000000;
JSON
{
  "hex": "#403cd6",
  "rgb": {
    "r": 64,
    "g": 60,
    "b": 214
  },
  "hsl": {
    "h": 241.558,
    "s": 65.254,
    "l": 53.725
  },
  "oklch": {
    "l": 0.4722,
    "c": 0.22568,
    "h": 274.6
  },
  "luminance": 0.09177
}

Semantic roles & 50–950 ramp

primary
#403CD6
secondary
#D6D896
accent
#E840E4
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0D0816
muted
#7E7B84

Preview Lab

Preview with #403CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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