#403BD8#403BD8

#403BD8 is a mid, highly saturated blue. Relative luminance 0.092; OKLCH L 47.3% C 0.229 H 274.6°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#403BD8
RGBrgb(64, 59, 216)
HSLhsl(242, 67%, 54%)
HSVhsv(242, 73%, 85%)
CMYKcmyk(70.4%, 72.7%, 0%, 15.3%)
CIE-LABlab(36.32, 50.97, -78.95)
CIE-LCHlch(36.32, 93.97, 302.84°)
OKLaboklab(47.28% 0.0183 -0.2283)
OKLCHoklch(47.28% 0.229 274.6)
XYZxyz(16.0689, 9.1742, 65.8764)
Luminance0.0918 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403BD8 #D3D83B
analogous
#3B85D8 #403BD8 #8F3BD8
triadic
#403BD8 #D8403B #3BD840
tetradic
#403BD8 #D83B85 #D3D83B #3BD88F
square
#403BD8 #D83B85 #D3D83B #3BD88F
split-complementary
#403BD8 #D88F3B #85D83B
monochromatic
#1D197F #2823B2 #403BD8 #726EE2 #A3A1EC

Accessibility & contrast

On white

7.41
#403BD8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#403BD8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403BD8
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403BD8#FFFFFF#000000##FFFFFF
##403BD81.007.412.847.41
#FFFFFF7.411.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DDD
Deuteranopia (green-blind)
#004ED5
Tritanopia (blue-blind)
#006886
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #403bd8;
/* rgb */ color: rgb(64, 59, 216);
/* oklch */ color: oklch(47.3% 0.229 274.6);
Tailwind
colors: {
  custom: {
    50: '#8a73e5',
    500: '#403bd8',
    950: '#000000',
  },
}
SCSS
$custom: #403bd8;
$custom-light: #8a73e5;
$custom-dark: #000000;
JSON
{
  "hex": "#403bd8",
  "rgb": {
    "r": 64,
    "g": 59,
    "b": 216
  },
  "hsl": {
    "h": 241.911,
    "s": 66.809,
    "l": 53.922
  },
  "oklch": {
    "l": 0.47277,
    "c": 0.22904,
    "h": 274.6
  },
  "luminance": 0.09176
}

Semantic roles & 50–950 ramp

primary
#403BD8
secondary
#D7D996
accent
#EA3EE4
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #403BD8

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

Preview Lab → · Contrast checker → · Palette generator →

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