#403AC8#403AC8

#403AC8 is a mid, highly saturated blue. Relative luminance 0.083; OKLCH L 45.6% C 0.211 H 275.9°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#403AC8
RGBrgb(64, 58, 200)
HSLhsl(243, 56%, 51%)
HSVhsv(243, 71%, 78%)
CMYKcmyk(68%, 71%, 0%, 21.6%)
CIE-LABlab(34.57, 46.40, -72.56)
CIE-LCHlch(34.57, 86.13, 302.59°)
OKLaboklab(45.57% 0.0216 -0.2097)
OKLCHoklch(45.57% 0.211 275.9)
XYZxyz(14.0493, 8.2850, 55.4911)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403AC8 #C2C83A
analogous
#3A7BC8 #403AC8 #873AC8
triadic
#403AC8 #C8403A #3AC840
tetradic
#403AC8 #C83A7B #C2C83A #3AC887
square
#403AC8 #C83A7B #C2C83A #3AC887
split-complementary
#403AC8 #C8873A #7BC83A
monochromatic
#211E6A #302B9A #403AC8 #6E6AD5 #9D9AE3

Accessibility & contrast

On white

7.90
#403AC8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#403AC8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403AC8
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403AC8#FFFFFF#000000##FFFFFF
##403AC81.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CC
Deuteranopia (green-blind)
#004BC5
Tritanopia (blue-blind)
#00617D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #403ac8;
/* rgb */ color: rgb(64, 58, 200);
/* oklch */ color: oklch(45.6% 0.211 275.9);
Tailwind
colors: {
  custom: {
    50: '#8772da',
    500: '#403ac8',
    950: '#000000',
  },
}
SCSS
$custom: #403ac8;
$custom-light: #8772da;
$custom-dark: #000000;
JSON
{
  "hex": "#403ac8",
  "rgb": {
    "r": 64,
    "g": 58,
    "b": 200
  },
  "hsl": {
    "h": 242.535,
    "s": 56.349,
    "l": 50.588
  },
  "oklch": {
    "l": 0.45566,
    "c": 0.21078,
    "h": 275.9
  },
  "luminance": 0.08286
}

Semantic roles & 50–950 ramp

primary
#403AC8
secondary
#CCCE8F
accent
#E048D9
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #403AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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