#403DC6#403DC6

#403DC6 is a mid, highly saturated blue. Relative luminance 0.085; OKLCH L 45.8% C 0.205 H 275.6°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#403DC6
RGBrgb(64, 61, 198)
HSLhsl(241, 55%, 51%)
HSVhsv(241, 69%, 78%)
CMYKcmyk(67.7%, 69.2%, 0%, 22.4%)
CIE-LABlab(35.01, 44.02, -70.67)
CIE-LCHlch(35.01, 83.26, 301.92°)
OKLaboklab(45.83% 0.02 -0.2041)
OKLCHoklch(45.83% 0.205 275.6)
XYZxyz(13.9728, 8.5034, 54.3201)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403DC6 #C3C63D
analogous
#3D7EC6 #403DC6 #843DC6
triadic
#403DC6 #C6403D #3DC640
tetradic
#403DC6 #C63D7E #C3C63D #3DC684
square
#403DC6 #C63D7E #C3C63D #3DC684
split-complementary
#403DC6 #C6843D #7EC63D
monochromatic
#211F6A #2F2D99 #403DC6 #6F6CD4 #9D9CE2

Accessibility & contrast

On white

7.77
#403DC6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#403DC6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403DC6
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403DC6#FFFFFF#000000##FFFFFF
##403DC61.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CA
Deuteranopia (green-blind)
#004CC3
Tritanopia (blue-blind)
#00627D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #403dc6;
/* rgb */ color: rgb(64, 61, 198);
/* oklch */ color: oklch(45.8% 0.205 275.6);
Tailwind
colors: {
  custom: {
    50: '#8674d8',
    500: '#403dc6',
    950: '#000000',
  },
}
SCSS
$custom: #403dc6;
$custom-light: #8674d8;
$custom-dark: #000000;
JSON
{
  "hex": "#403dc6",
  "rgb": {
    "r": 64,
    "g": 61,
    "b": 198
  },
  "hsl": {
    "h": 241.314,
    "s": 54.582,
    "l": 50.784
  },
  "oklch": {
    "l": 0.45825,
    "c": 0.20513,
    "h": 275.6
  },
  "luminance": 0.08505
}

Semantic roles & 50–950 ramp

primary
#403DC6
secondary
#CCCE91
accent
#DE4ADB
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #403DC6

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

Preview Lab → · Contrast checker → · Palette generator →

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