#403AC3#403AC3

#403AC3 is a mid, highly saturated blue. Relative luminance 0.081; OKLCH L 45.1% C 0.205 H 276.3°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#403AC3
RGBrgb(64, 58, 195)
HSLhsl(243, 54%, 50%)
HSVhsv(243, 70%, 76%)
CMYKcmyk(67.2%, 70.3%, 0%, 23.5%)
CIE-LABlab(34.10, 44.78, -70.42)
CIE-LCHlch(34.10, 83.45, 302.45°)
OKLaboklab(45.08% 0.0224 -0.2034)
OKLCHoklch(45.08% 0.205 276.3)
XYZxyz(13.4745, 8.0550, 52.4639)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403AC3 #BDC33A
analogous
#3A78C3 #403AC3 #853AC3
triadic
#403AC3 #C3403A #3AC340
tetradic
#403AC3 #C33A78 #BDC33A #3AC385
square
#403AC3 #C33A78 #BDC33A #3AC385
split-complementary
#403AC3 #C3853A #78C33A
monochromatic
#211E65 #312C94 #403AC3 #6D68D2 #9A97E0

Accessibility & contrast

On white

8.04
#403AC3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#403AC3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403AC3
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403AC3#FFFFFF#000000##FFFFFF
##403AC31.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C7
Deuteranopia (green-blind)
#004AC0
Tritanopia (blue-blind)
#00607A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #403ac3;
/* rgb */ color: rgb(64, 58, 195);
/* oklch */ color: oklch(45.1% 0.205 276.3);
Tailwind
colors: {
  custom: {
    50: '#8671d6',
    500: '#403ac3',
    950: '#000000',
  },
}
SCSS
$custom: #403ac3;
$custom-light: #8671d6;
$custom-dark: #000000;
JSON
{
  "hex": "#403ac3",
  "rgb": {
    "r": 64,
    "g": 58,
    "b": 195
  },
  "hsl": {
    "h": 242.628,
    "s": 54.15,
    "l": 49.608
  },
  "oklch": {
    "l": 0.45085,
    "c": 0.20463,
    "h": 276.3
  },
  "luminance": 0.08056
}

Semantic roles & 50–950 ramp

primary
#403AC3
secondary
#C9CC8D
accent
#DE4AD7
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0D0814
muted
#7D7B83

Preview Lab

Preview with #403AC3

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

Preview Lab → · Contrast checker → · Palette generator →

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