#403BD5#403BD5

#403BD5 is a mid, highly saturated blue. Relative luminance 0.090; OKLCH L 47.0% C 0.225 H 274.8°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#403BD5
RGBrgb(64, 59, 213)
HSLhsl(242, 65%, 53%)
HSVhsv(242, 72%, 84%)
CMYKcmyk(70%, 72.3%, 0%, 16.5%)
CIE-LABlab(36.02, 50.01, -77.71)
CIE-LCHlch(36.02, 92.41, 302.76°)
OKLaboklab(46.98% 0.0188 -0.2247)
OKLCHoklch(46.98% 0.225 274.8)
XYZxyz(15.6846, 9.0205, 63.8524)
Luminance0.0902 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403BD5 #D0D53B
analogous
#3B83D5 #403BD5 #8D3BD5
triadic
#403BD5 #D5403B #3BD540
tetradic
#403BD5 #D53B83 #D0D53B #3BD58D
square
#403BD5 #D53B83 #D0D53B #3BD58D
split-complementary
#403BD5 #D58D3B #83D53B
monochromatic
#1E1A7B #2A25AE #403BD5 #716DE0 #A2A0EB

Accessibility & contrast

On white

7.49
#403BD5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#403BD5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403BD5
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403BD5#FFFFFF#000000##FFFFFF
##403BD51.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CDA
Deuteranopia (green-blind)
#004ED2
Tritanopia (blue-blind)
#006785
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #403bd5;
/* rgb */ color: rgb(64, 59, 213);
/* oklch */ color: oklch(47.0% 0.225 274.8);
Tailwind
colors: {
  custom: {
    50: '#8a73e3',
    500: '#403bd5',
    950: '#000000',
  },
}
SCSS
$custom: #403bd5;
$custom-light: #8a73e3;
$custom-dark: #000000;
JSON
{
  "hex": "#403bd5",
  "rgb": {
    "r": 64,
    "g": 59,
    "b": 213
  },
  "hsl": {
    "h": 241.948,
    "s": 64.706,
    "l": 53.333
  },
  "oklch": {
    "l": 0.4698,
    "c": 0.22546,
    "h": 274.8
  },
  "luminance": 0.09022
}

Semantic roles & 50–950 ramp

primary
#403BD5
secondary
#D5D795
accent
#E840E2
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0D0816
muted
#7E7B84

Preview Lab

Preview with #403BD5

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

Preview Lab → · Contrast checker → · Palette generator →

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