#403DC7#403DC7

#403DC7 is a mid, highly saturated blue. Relative luminance 0.086; OKLCH L 45.9% C 0.206 H 275.5°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#403DC7
RGBrgb(64, 61, 199)
HSLhsl(241, 55%, 51%)
HSVhsv(241, 69%, 78%)
CMYKcmyk(67.8%, 69.3%, 0%, 22%)
CIE-LABlab(35.10, 44.34, -71.11)
CIE-LCHlch(35.10, 83.80, 301.95°)
OKLaboklab(45.92% 0.0199 -0.2054)
OKLCHoklch(45.92% 0.206 275.5)
XYZxyz(14.0885, 8.5497, 54.9296)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403DC7 #C4C73D
analogous
#3D7FC7 #403DC7 #853DC7
triadic
#403DC7 #C7403D #3DC740
tetradic
#403DC7 #C73D7F #C4C73D #3DC785
square
#403DC7 #C73D7F #C4C73D #3DC785
split-complementary
#403DC7 #C7853D #7FC73D
monochromatic
#201F6B #2F2D9A #403DC7 #6F6CD5 #9E9CE2

Accessibility & contrast

On white

7.75
#403DC7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #403DC7
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403DC7#FFFFFF#000000##FFFFFF
##403DC71.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CB
Deuteranopia (green-blind)
#004CC4
Tritanopia (blue-blind)
#00637D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #403dc7;
/* rgb */ color: rgb(64, 61, 199);
/* oklch */ color: oklch(45.9% 0.206 275.5);
Tailwind
colors: {
  custom: {
    50: '#8674d9',
    500: '#403dc7',
    950: '#000000',
  },
}
SCSS
$custom: #403dc7;
$custom-light: #8674d9;
$custom-dark: #000000;
JSON
{
  "hex": "#403dc7",
  "rgb": {
    "r": 64,
    "g": 61,
    "b": 199
  },
  "hsl": {
    "h": 241.304,
    "s": 55.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.4592,
    "c": 0.20637,
    "h": 275.5
  },
  "luminance": 0.08551
}

Semantic roles & 50–950 ramp

primary
#403DC7
secondary
#CDCE91
accent
#DF49DB
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #403DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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