#403CC9#403CC9

#403CC9 is a mid, highly saturated blue. Relative luminance 0.085; OKLCH L 46.0% C 0.210 H 275.5°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#403CC9
RGBrgb(64, 60, 201)
HSLhsl(242, 57%, 51%)
HSVhsv(242, 70%, 79%)
CMYKcmyk(68.2%, 70.1%, 0%, 21.2%)
CIE-LABlab(35.08, 45.58, -72.31)
CIE-LCHlch(35.08, 85.48, 302.22°)
OKLaboklab(45.96% 0.0202 -0.2089)
OKLCHoklch(45.96% 0.21 275.5)
XYZxyz(14.2694, 8.5374, 56.1429)
Luminance0.0854 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403CC9 #C5C93C
analogous
#3C7EC9 #403CC9 #863CC9
triadic
#403CC9 #C9403C #3CC940
tetradic
#403CC9 #C93C7E #C5C93C #3CC986
square
#403CC9 #C93C7E #C5C93C #3CC986
split-complementary
#403CC9 #C9863C #7EC93C
monochromatic
#201E6D #2F2B9C #403CC9 #6F6CD6 #9E9CE4

Accessibility & contrast

On white

7.76
#403CC9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#403CC9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403CC9
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403CC9#FFFFFF#000000##FFFFFF
##403CC91.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CD
Deuteranopia (green-blind)
#004CC6
Tritanopia (blue-blind)
#00637E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #403cc9;
/* rgb */ color: rgb(64, 60, 201);
/* oklch */ color: oklch(46.0% 0.210 275.5);
Tailwind
colors: {
  custom: {
    50: '#8773db',
    500: '#403cc9',
    950: '#000000',
  },
}
SCSS
$custom: #403cc9;
$custom-light: #8773db;
$custom-dark: #000000;
JSON
{
  "hex": "#403cc9",
  "rgb": {
    "r": 64,
    "g": 60,
    "b": 201
  },
  "hsl": {
    "h": 241.702,
    "s": 56.627,
    "l": 51.176
  },
  "oklch": {
    "l": 0.45958,
    "c": 0.2099,
    "h": 275.5
  },
  "luminance": 0.08539
}

Semantic roles & 50–950 ramp

primary
#403CC9
secondary
#CED091
accent
#E048DC
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #403CC9

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

Preview Lab → · Contrast checker → · Palette generator →

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