#403DD5#403DD5

#403DD5 is a mid, highly saturated blue. Relative luminance 0.092; OKLCH L 47.3% C 0.223 H 274.5°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#403DD5
RGBrgb(64, 61, 213)
HSLhsl(241, 64%, 54%)
HSVhsv(241, 71%, 84%)
CMYKcmyk(70%, 71.4%, 0%, 16.5%)
CIE-LABlab(36.42, 48.90, -77.05)
CIE-LCHlch(36.42, 91.26, 302.40°)
OKLaboklab(47.27% 0.0177 -0.2228)
OKLCHoklch(47.27% 0.223 274.5)
XYZxyz(15.7894, 9.2301, 63.8874)
Luminance0.0923 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403DD5 #D2D53D
analogous
#3D86D5 #403DD5 #8C3DD5
triadic
#403DD5 #D5403D #3DD540
tetradic
#403DD5 #D53D86 #D2D53D #3DD58C
square
#403DD5 #D53D86 #D2D53D #3DD58C
split-complementary
#403DD5 #D58C3D #86D53D
monochromatic
#1D1B7D #2926AF #403DD5 #726FE0 #A3A2EB

Accessibility & contrast

On white

7.38
#403DD5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#403DD5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403DD5
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403DD5#FFFFFF#000000##FFFFFF
##403DD51.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DDA
Deuteranopia (green-blind)
#004FD2
Tritanopia (blue-blind)
#006885
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #403dd5;
/* rgb */ color: rgb(64, 61, 213);
/* oklch */ color: oklch(47.3% 0.223 274.5);
Tailwind
colors: {
  custom: {
    50: '#8974e3',
    500: '#403dd5',
    950: '#000000',
  },
}
SCSS
$custom: #403dd5;
$custom-light: #8974e3;
$custom-dark: #000000;
JSON
{
  "hex": "#403dd5",
  "rgb": {
    "r": 64,
    "g": 61,
    "b": 213
  },
  "hsl": {
    "h": 241.184,
    "s": 64.407,
    "l": 53.725
  },
  "oklch": {
    "l": 0.47265,
    "c": 0.22347,
    "h": 274.5
  },
  "luminance": 0.09232
}

Semantic roles & 50–950 ramp

primary
#403DD5
secondary
#D6D796
accent
#E740E4
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0D0816
muted
#7E7B84

Preview Lab

Preview with #403DD5

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

Preview Lab → · Contrast checker → · Palette generator →

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