#403CD3#403CD3

#403CD3 is a mid, highly saturated blue. Relative luminance 0.090; OKLCH L 46.9% C 0.222 H 274.8°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#403CD3
RGBrgb(64, 60, 211)
HSLhsl(242, 63%, 53%)
HSVhsv(242, 72%, 83%)
CMYKcmyk(69.7%, 71.6%, 0%, 17.3%)
CIE-LABlab(36.03, 48.81, -76.55)
CIE-LCHlch(36.03, 90.79, 302.53°)
OKLaboklab(46.93% 0.0186 -0.2213)
OKLCHoklch(46.93% 0.222 274.8)
XYZxyz(15.4842, 9.0234, 62.5411)
Luminance0.0902 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403CD3 #CFD33C
analogous
#3C84D3 #403CD3 #8B3CD3
triadic
#403CD3 #D3403C #3CD340
tetradic
#403CD3 #D33C84 #CFD33C #3CD38B
square
#403CD3 #D33C84 #CFD33C #3CD38B
split-complementary
#403CD3 #D38B3C #84D33C
monochromatic
#1E1B79 #2A27AB #403CD3 #716EDE #A2A0EA

Accessibility & contrast

On white

7.49
#403CD3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#403CD3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403CD3
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403CD3#FFFFFF#000000##FFFFFF
##403CD31.007.492.817.49
#FFFFFF7.491.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CD7
Deuteranopia (green-blind)
#004ED0
Tritanopia (blue-blind)
#006684
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #403cd3;
/* rgb */ color: rgb(64, 60, 211);
/* oklch */ color: oklch(46.9% 0.222 274.8);
Tailwind
colors: {
  custom: {
    50: '#8973e2',
    500: '#403cd3',
    950: '#000000',
  },
}
SCSS
$custom: #403cd3;
$custom-light: #8973e2;
$custom-dark: #000000;
JSON
{
  "hex": "#403cd3",
  "rgb": {
    "r": 64,
    "g": 60,
    "b": 211
  },
  "hsl": {
    "h": 241.589,
    "s": 63.18,
    "l": 53.137
  },
  "oklch": {
    "l": 0.46926,
    "c": 0.22207,
    "h": 274.8
  },
  "luminance": 0.09025
}

Semantic roles & 50–950 ramp

primary
#403CD3
secondary
#D4D695
accent
#E642E2
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0D0816
muted
#7E7B84

Preview Lab

Preview with #403CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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