#403DD2#403DD2

#403DD2 is a mid, highly saturated blue. Relative luminance 0.091; OKLCH L 47.0% C 0.220 H 274.7°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#403DD2
RGBrgb(64, 61, 210)
HSLhsl(241, 62%, 53%)
HSVhsv(241, 71%, 82%)
CMYKcmyk(69.5%, 71%, 0%, 17.6%)
CIE-LABlab(36.14, 47.93, -75.79)
CIE-LCHlch(36.14, 89.67, 302.31°)
OKLaboklab(46.97% 0.0182 -0.2191)
OKLCHoklch(46.97% 0.22 274.7)
XYZxyz(15.4121, 9.0792, 61.9005)
Luminance0.0908 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403DD2 #CFD23D
analogous
#3D84D2 #403DD2 #8A3DD2
triadic
#403DD2 #D2403D #3DD240
tetradic
#403DD2 #D23D84 #CFD23D #3DD28A
square
#403DD2 #D23D84 #CFD23D #3DD28A
split-complementary
#403DD2 #D28A3D #84D23D
monochromatic
#1E1C79 #2A28AA #403DD2 #716FDE #A2A0E9

Accessibility & contrast

On white

7.46
#403DD2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#403DD2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403DD2
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403DD2#FFFFFF#000000##FFFFFF
##403DD21.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #403dd2;
/* rgb */ color: rgb(64, 61, 210);
/* oklch */ color: oklch(47.0% 0.220 274.7);
Tailwind
colors: {
  custom: {
    50: '#8974e1',
    500: '#403dd2',
    950: '#000000',
  },
}
SCSS
$custom: #403dd2;
$custom-light: #8974e1;
$custom-dark: #000000;
JSON
{
  "hex": "#403dd2",
  "rgb": {
    "r": 64,
    "g": 61,
    "b": 210
  },
  "hsl": {
    "h": 241.208,
    "s": 62.343,
    "l": 53.137
  },
  "oklch": {
    "l": 0.46973,
    "c": 0.21985,
    "h": 274.7
  },
  "luminance": 0.09081
}

Semantic roles & 50–950 ramp

primary
#403DD2
secondary
#D4D695
accent
#E542E2
background
#F9F7FE
surface
#F1EDFC
border
#CBC8D5
text
#0D0815
muted
#7E7B84

Preview Lab

Preview with #403DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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