#403AC7#403AC7

#403AC7 is a mid, highly saturated blue. Relative luminance 0.082; OKLCH L 45.5% C 0.210 H 276.0°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#403AC7
RGBrgb(64, 58, 199)
HSLhsl(243, 56%, 50%)
HSVhsv(243, 71%, 78%)
CMYKcmyk(67.8%, 70.9%, 0%, 22%)
CIE-LABlab(34.47, 46.07, -72.14)
CIE-LCHlch(34.47, 85.60, 302.57°)
OKLaboklab(45.47% 0.0217 -0.2084)
OKLCHoklch(45.47% 0.21 276)
XYZxyz(13.9328, 8.2384, 54.8777)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403AC7 #C1C73A
analogous
#3A7BC7 #403AC7 #863AC7
triadic
#403AC7 #C7403A #3AC740
tetradic
#403AC7 #C73A7B #C1C73A #3AC786
square
#403AC7 #C73A7B #C1C73A #3AC786
split-complementary
#403AC7 #C7863A #7BC73A
monochromatic
#211E69 #302B98 #403AC7 #6E6AD5 #9C99E2

Accessibility & contrast

On white

7.93
#403AC7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#403AC7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403AC7
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403AC7#FFFFFF#000000##FFFFFF
##403AC71.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CB
Deuteranopia (green-blind)
#004BC4
Tritanopia (blue-blind)
#00617C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #403ac7;
/* rgb */ color: rgb(64, 58, 199);
/* oklch */ color: oklch(45.5% 0.210 276.0);
Tailwind
colors: {
  custom: {
    50: '#8772d9',
    500: '#403ac7',
    950: '#000000',
  },
}
SCSS
$custom: #403ac7;
$custom-light: #8772d9;
$custom-dark: #000000;
JSON
{
  "hex": "#403ac7",
  "rgb": {
    "r": 64,
    "g": 58,
    "b": 199
  },
  "hsl": {
    "h": 242.553,
    "s": 55.731,
    "l": 50.392
  },
  "oklch": {
    "l": 0.45469,
    "c": 0.20955,
    "h": 276
  },
  "luminance": 0.0824
}

Semantic roles & 50–950 ramp

primary
#403AC7
secondary
#CBCE8F
accent
#DF49D9
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #403AC7

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

Preview Lab → · Contrast checker → · Palette generator →

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