#403BD4#403BD4

#403BD4 is a mid, highly saturated blue. Relative luminance 0.090; OKLCH L 46.9% C 0.224 H 274.9°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#403BD4
RGBrgb(64, 59, 212)
HSLhsl(242, 64%, 53%)
HSVhsv(242, 72%, 83%)
CMYKcmyk(69.8%, 72.2%, 0%, 16.9%)
CIE-LABlab(35.93, 49.69, -77.29)
CIE-LCHlch(35.93, 91.89, 302.74°)
OKLaboklab(46.88% 0.019 -0.2235)
OKLCHoklch(46.88% 0.224 274.9)
XYZxyz(15.5581, 8.9699, 63.1860)
Luminance0.0897 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403BD4 #CFD43B
analogous
#3B82D4 #403BD4 #8C3BD4
triadic
#403BD4 #D4403B #3BD440
tetradic
#403BD4 #D43B82 #CFD43B #3BD48C
square
#403BD4 #D43B82 #CFD43B #3BD48C
split-complementary
#403BD4 #D48C3B #82D43B
monochromatic
#1E1B7A #2A26AC #403BD4 #716DDF #A29FEA

Accessibility & contrast

On white

7.52
#403BD4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#403BD4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403BD4
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403BD4#FFFFFF#000000##FFFFFF
##403BD41.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BD9
Deuteranopia (green-blind)
#004DD1
Tritanopia (blue-blind)
#006684
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #403bd4;
/* rgb */ color: rgb(64, 59, 212);
/* oklch */ color: oklch(46.9% 0.224 274.9);
Tailwind
colors: {
  custom: {
    50: '#8973e3',
    500: '#403bd4',
    950: '#000000',
  },
}
SCSS
$custom: #403bd4;
$custom-light: #8973e3;
$custom-dark: #000000;
JSON
{
  "hex": "#403bd4",
  "rgb": {
    "r": 64,
    "g": 59,
    "b": 212
  },
  "hsl": {
    "h": 241.961,
    "s": 64.017,
    "l": 53.137
  },
  "oklch": {
    "l": 0.46882,
    "c": 0.22427,
    "h": 274.9
  },
  "luminance": 0.08971
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #403BD4

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

Preview Lab → · Contrast checker → · Palette generator →

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