#403DC9#403DC9

#403DC9 is a mid, highly saturated blue. Relative luminance 0.086; OKLCH L 46.1% C 0.209 H 275.4°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#403DC9
RGBrgb(64, 61, 201)
HSLhsl(241, 56%, 51%)
HSVhsv(241, 70%, 79%)
CMYKcmyk(68.2%, 69.7%, 0%, 21.2%)
CIE-LABlab(35.29, 45.00, -71.97)
CIE-LCHlch(35.29, 84.88, 302.02°)
OKLaboklab(46.11% 0.0196 -0.2079)
OKLCHoklch(46.11% 0.209 275.4)
XYZxyz(14.3222, 8.6432, 56.1605)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403DC9 #C6C93D
analogous
#3D80C9 #403DC9 #863DC9
triadic
#403DC9 #C9403D #3DC940
tetradic
#403DC9 #C93D80 #C6C93D #3DC986
square
#403DC9 #C93D80 #C6C93D #3DC986
split-complementary
#403DC9 #C9863D #80C93D
monochromatic
#201E6D #2E2C9D #403DC9 #6F6DD6 #9E9DE4

Accessibility & contrast

On white

7.70
#403DC9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#403DC9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403DC9
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403DC9#FFFFFF#000000##FFFFFF
##403DC91.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #403dc9;
/* rgb */ color: rgb(64, 61, 201);
/* oklch */ color: oklch(46.1% 0.209 275.4);
Tailwind
colors: {
  custom: {
    50: '#8774db',
    500: '#403dc9',
    950: '#000000',
  },
}
SCSS
$custom: #403dc9;
$custom-light: #8774db;
$custom-dark: #000000;
JSON
{
  "hex": "#403dc9",
  "rgb": {
    "r": 64,
    "g": 61,
    "b": 201
  },
  "hsl": {
    "h": 241.286,
    "s": 56.452,
    "l": 51.373
  },
  "oklch": {
    "l": 0.46109,
    "c": 0.20885,
    "h": 275.4
  },
  "luminance": 0.08645
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #403DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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