#403BD2#403BD2

#403BD2 is a mid, highly saturated blue. Relative luminance 0.089; OKLCH L 46.7% C 0.222 H 275.0°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#403BD2
RGBrgb(64, 59, 210)
HSLhsl(242, 63%, 53%)
HSVhsv(242, 72%, 82%)
CMYKcmyk(69.5%, 71.9%, 0%, 17.6%)
CIE-LABlab(35.73, 49.05, -76.46)
CIE-LCHlch(35.73, 90.84, 302.68°)
OKLaboklab(46.69% 0.0193 -0.221)
OKLCHoklch(46.69% 0.222 275)
XYZxyz(15.3073, 8.8696, 61.8656)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403BD2 #CDD23B
analogous
#3B81D2 #403BD2 #8C3BD2
triadic
#403BD2 #D2403B #3BD240
tetradic
#403BD2 #D23B81 #CDD23B #3BD28C
square
#403BD2 #D23B81 #CDD23B #3BD28C
split-complementary
#403BD2 #D28C3B #81D23B
monochromatic
#1E1B77 #2B27A9 #403BD2 #716DDD #A19FE9

Accessibility & contrast

On white

7.57
#403BD2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#403BD2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403BD2
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403BD2#FFFFFF#000000##FFFFFF
##403BD21.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #403bd2;
/* rgb */ color: rgb(64, 59, 210);
/* oklch */ color: oklch(46.7% 0.222 275.0);
Tailwind
colors: {
  custom: {
    50: '#8973e1',
    500: '#403bd2',
    950: '#000000',
  },
}
SCSS
$custom: #403bd2;
$custom-light: #8973e1;
$custom-dark: #000000;
JSON
{
  "hex": "#403bd2",
  "rgb": {
    "r": 64,
    "g": 59,
    "b": 210
  },
  "hsl": {
    "h": 241.987,
    "s": 62.656,
    "l": 52.745
  },
  "oklch": {
    "l": 0.46685,
    "c": 0.22187,
    "h": 275
  },
  "luminance": 0.08871
}

Semantic roles & 50–950 ramp

primary
#403BD2
secondary
#D3D594
accent
#E642E0
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0D0815
muted
#7E7B84

Preview Lab

Preview with #403BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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