#403DCD#403DCD

#403DCD is a mid, highly saturated blue. Relative luminance 0.088; OKLCH L 46.5% C 0.214 H 275.1°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#403DCD
RGBrgb(64, 61, 205)
HSLhsl(241, 59%, 52%)
HSVhsv(241, 70%, 80%)
CMYKcmyk(68.8%, 70.2%, 0%, 19.6%)
CIE-LABlab(35.66, 46.31, -73.68)
CIE-LCHlch(35.66, 87.02, 302.15°)
OKLaboklab(46.49% 0.019 -0.2129)
OKLCHoklch(46.49% 0.214 275.1)
XYZxyz(14.7989, 8.8339, 58.6710)
Luminance0.0883 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403DCD #CACD3D
analogous
#3D82CD #403DCD #883DCD
triadic
#403DCD #CD403D #3DCD40
tetradic
#403DCD #CD3D82 #CACD3D #3DCD88
square
#403DCD #CD3D82 #CACD3D #3DCD88
split-complementary
#403DCD #CD883D #82CD3D
monochromatic
#1F1D72 #2C2AA3 #403DCD #706EDA #A09EE6

Accessibility & contrast

On white

7.59
#403DCD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#403DCD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403DCD
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403DCD#FFFFFF#000000##FFFFFF
##403DCD1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #403dcd;
/* rgb */ color: rgb(64, 61, 205);
/* oklch */ color: oklch(46.5% 0.214 275.1);
Tailwind
colors: {
  custom: {
    50: '#8874dd',
    500: '#403dcd',
    950: '#000000',
  },
}
SCSS
$custom: #403dcd;
$custom-light: #8874dd;
$custom-dark: #000000;
JSON
{
  "hex": "#403dcd",
  "rgb": {
    "r": 64,
    "g": 61,
    "b": 205
  },
  "hsl": {
    "h": 241.25,
    "s": 59.016,
    "l": 52.157
  },
  "oklch": {
    "l": 0.46491,
    "c": 0.21376,
    "h": 275.1
  },
  "luminance": 0.08835
}

Semantic roles & 50–950 ramp

primary
#403DCD
secondary
#D1D293
accent
#E246DF
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #403DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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