#403ACB#403ACB

#403ACB is a mid, highly saturated blue. Relative luminance 0.084; OKLCH L 45.9% C 0.214 H 275.6°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#403ACB
RGBrgb(64, 58, 203)
HSLhsl(242, 58%, 51%)
HSVhsv(242, 71%, 80%)
CMYKcmyk(68.5%, 71.4%, 0%, 20.4%)
CIE-LABlab(34.86, 47.36, -73.84)
CIE-LCHlch(34.86, 87.73, 302.68°)
OKLaboklab(45.86% 0.0211 -0.2134)
OKLCHoklch(45.86% 0.214 275.6)
XYZxyz(14.4034, 8.4266, 57.3558)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403ACB #C5CB3A
analogous
#3A7CCB #403ACB #883ACB
triadic
#403ACB #CB403A #3ACB40
tetradic
#403ACB #CB3A7C #C5CB3A #3ACB88
square
#403ACB #CB3A7C #C5CB3A #3ACB88
split-complementary
#403ACB #CB883A #7CCB3A
monochromatic
#201D6E #2F2A9E #403ACB #6F6AD8 #9E9BE5

Accessibility & contrast

On white

7.82
#403ACB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#403ACB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403ACB
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403ACB#FFFFFF#000000##FFFFFF
##403ACB1.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CF
Deuteranopia (green-blind)
#004BC8
Tritanopia (blue-blind)
#00637F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #403acb;
/* rgb */ color: rgb(64, 58, 203);
/* oklch */ color: oklch(45.9% 0.214 275.6);
Tailwind
colors: {
  custom: {
    50: '#8872dc',
    500: '#403acb',
    950: '#000000',
  },
}
SCSS
$custom: #403acb;
$custom-light: #8872dc;
$custom-dark: #000000;
JSON
{
  "hex": "#403acb",
  "rgb": {
    "r": 64,
    "g": 58,
    "b": 203
  },
  "hsl": {
    "h": 242.483,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.45857,
    "c": 0.21443,
    "h": 275.6
  },
  "luminance": 0.08428
}

Semantic roles & 50–950 ramp

primary
#403ACB
secondary
#CED090
accent
#E146DB
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #403ACB

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

Preview Lab → · Contrast checker → · Palette generator →

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