#403BD3#403BD3

#403BD3 is a mid, highly saturated blue. Relative luminance 0.089; OKLCH L 46.8% C 0.223 H 274.9°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#403BD3
RGBrgb(64, 59, 211)
HSLhsl(242, 63%, 53%)
HSVhsv(242, 72%, 83%)
CMYKcmyk(69.7%, 72%, 0%, 17.3%)
CIE-LABlab(35.83, 49.37, -76.88)
CIE-LCHlch(35.83, 91.36, 302.71°)
OKLaboklab(46.78% 0.0191 -0.2222)
OKLCHoklch(46.78% 0.223 274.9)
XYZxyz(15.4323, 8.9196, 62.5238)
Luminance0.0892 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403BD3 #CED33B
analogous
#3B82D3 #403BD3 #8C3BD3
triadic
#403BD3 #D3403B #3BD340
tetradic
#403BD3 #D33B82 #CED33B #3BD38C
square
#403BD3 #D33B82 #CED33B #3BD38C
split-complementary
#403BD3 #D38C3B #82D33B
monochromatic
#1E1B79 #2B26AB #403BD3 #716DDE #A19FE9

Accessibility & contrast

On white

7.54
#403BD3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#403BD3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403BD3
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403BD3#FFFFFF#000000##FFFFFF
##403BD31.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BD7
Deuteranopia (green-blind)
#004DD0
Tritanopia (blue-blind)
#006683
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #403bd3;
/* rgb */ color: rgb(64, 59, 211);
/* oklch */ color: oklch(46.8% 0.223 274.9);
Tailwind
colors: {
  custom: {
    50: '#8973e2',
    500: '#403bd3',
    950: '#000000',
  },
}
SCSS
$custom: #403bd3;
$custom-light: #8973e2;
$custom-dark: #000000;
JSON
{
  "hex": "#403bd3",
  "rgb": {
    "r": 64,
    "g": 59,
    "b": 211
  },
  "hsl": {
    "h": 241.974,
    "s": 63.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.46783,
    "c": 0.22307,
    "h": 274.9
  },
  "luminance": 0.08921
}

Semantic roles & 50–950 ramp

primary
#403BD3
secondary
#D4D694
accent
#E641E1
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0D0816
muted
#7E7B84

Preview Lab

Preview with #403BD3

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

Preview Lab → · Contrast checker → · Palette generator →

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