#403BD9#403BD9

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

Color values

HEX#403BD9
RGBrgb(64, 59, 217)
HSLhsl(242, 68%, 54%)
HSVhsv(242, 73%, 85%)
CMYKcmyk(70.5%, 72.8%, 0%, 14.9%)
CIE-LABlab(36.42, 51.28, -79.37)
CIE-LCHlch(36.42, 94.49, 302.87°)
OKLaboklab(47.38% 0.0181 -0.2295)
OKLCHoklch(47.38% 0.23 274.5)
XYZxyz(16.1986, 9.2261, 66.5593)
Luminance0.0923 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403BD9 #D4D93B
analogous
#3B85D9 #403BD9 #8F3BD9
triadic
#403BD9 #D9403B #3BD940
tetradic
#403BD9 #D93B85 #D4D93B #3BD98F
square
#403BD9 #D93B85 #D4D93B #3BD98F
split-complementary
#403BD9 #D98F3B #85D93B
monochromatic
#1C1981 #2723B4 #403BD9 #726EE3 #A4A2ED

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##403BD9#FFFFFF#000000##FFFFFF
##403BD91.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)
#005DDE
Deuteranopia (green-blind)
#004ED6
Tritanopia (blue-blind)
#006887
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #403bd9;
/* rgb */ color: rgb(64, 59, 217);
/* oklch */ color: oklch(47.4% 0.230 274.5);
Tailwind
colors: {
  custom: {
    50: '#8a73e6',
    500: '#403bd9',
    950: '#000000',
  },
}
SCSS
$custom: #403bd9;
$custom-light: #8a73e6;
$custom-dark: #000000;
JSON
{
  "hex": "#403bd9",
  "rgb": {
    "r": 64,
    "g": 59,
    "b": 217
  },
  "hsl": {
    "h": 241.899,
    "s": 67.521,
    "l": 54.118
  },
  "oklch": {
    "l": 0.47377,
    "c": 0.23022,
    "h": 274.5
  },
  "luminance": 0.09228
}

Semantic roles & 50–950 ramp

primary
#403BD9
secondary
#D7DA96
accent
#EA3DE5
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #403BD9

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

Preview Lab → · Contrast checker → · Palette generator →

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