#403DCE#403DCE

#403DCE is a mid, highly saturated blue. Relative luminance 0.089; OKLCH L 46.6% C 0.215 H 275.0°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#403DCE
RGBrgb(64, 61, 206)
HSLhsl(241, 60%, 52%)
HSVhsv(241, 70%, 81%)
CMYKcmyk(68.9%, 70.4%, 0%, 19.2%)
CIE-LABlab(35.76, 46.63, -74.10)
CIE-LCHlch(35.76, 87.55, 302.18°)
OKLaboklab(46.59% 0.0188 -0.2142)
OKLCHoklch(46.59% 0.215 275)
XYZxyz(14.9200, 8.8823, 59.3087)
Luminance0.0888 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403DCE #CBCE3D
analogous
#3D83CE #403DCE #883DCE
triadic
#403DCE #CE403D #3DCE40
tetradic
#403DCE #CE3D83 #CBCE3D #3DCE88
square
#403DCE #CE3D83 #CBCE3D #3DCE88
split-complementary
#403DCE #CE883D #83CE3D
monochromatic
#1F1D73 #2C29A4 #403DCE #706EDA #A09FE7

Accessibility & contrast

On white

7.56
#403DCE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#403DCE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403DCE
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403DCE#FFFFFF#000000##FFFFFF
##403DCE1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BD2
Deuteranopia (green-blind)
#004DCB
Tritanopia (blue-blind)
#006581
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #403dce;
/* rgb */ color: rgb(64, 61, 206);
/* oklch */ color: oklch(46.6% 0.215 275.0);
Tailwind
colors: {
  custom: {
    50: '#8874de',
    500: '#403dce',
    950: '#000000',
  },
}
SCSS
$custom: #403dce;
$custom-light: #8874de;
$custom-dark: #000000;
JSON
{
  "hex": "#403dce",
  "rgb": {
    "r": 64,
    "g": 61,
    "b": 206
  },
  "hsl": {
    "h": 241.241,
    "s": 59.671,
    "l": 52.353
  },
  "oklch": {
    "l": 0.46587,
    "c": 0.21498,
    "h": 275
  },
  "luminance": 0.08884
}

Semantic roles & 50–950 ramp

primary
#403DCE
secondary
#D2D394
accent
#E345E0
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #403DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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