#403FC9#403FC9

#403FC9 is a mid, highly saturated blue. Relative luminance 0.089; OKLCH L 46.4% C 0.207 H 275.1°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#403FC9
RGBrgb(64, 63, 201)
HSLhsl(240, 56%, 52%)
HSVhsv(240, 69%, 79%)
CMYKcmyk(68.2%, 68.7%, 0%, 21.2%)
CIE-LABlab(35.71, 43.83, -71.26)
CIE-LCHlch(35.71, 83.67, 301.59°)
OKLaboklab(46.42% 0.0183 -0.2059)
OKLCHoklch(46.42% 0.207 275.1)
XYZxyz(14.4310, 8.8607, 56.1968)
Luminance0.0886 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403FC9 #C8C93F
analogous
#3F83C9 #403FC9 #853FC9
triadic
#403FC9 #C9403F #3FC940
tetradic
#403FC9 #C93F83 #C8C93F #3FC985
square
#403FC9 #C93F83 #C8C93F #3FC985
split-complementary
#403FC9 #C9853F #83C93F
monochromatic
#201F6F #2D2D9E #403FC9 #706FD6 #9F9FE4

Accessibility & contrast

On white

7.57
#403FC9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#403FC9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403FC9
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403FC9#FFFFFF#000000##FFFFFF
##403FC91.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACD
Deuteranopia (green-blind)
#004EC6
Tritanopia (blue-blind)
#00647F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #403fc9;
/* rgb */ color: rgb(64, 63, 201);
/* oklch */ color: oklch(46.4% 0.207 275.1);
Tailwind
colors: {
  custom: {
    50: '#8775db',
    500: '#403fc9',
    950: '#000000',
  },
}
SCSS
$custom: #403fc9;
$custom-light: #8775db;
$custom-dark: #000000;
JSON
{
  "hex": "#403fc9",
  "rgb": {
    "r": 64,
    "g": 63,
    "b": 201
  },
  "hsl": {
    "h": 240.435,
    "s": 56.098,
    "l": 51.765
  },
  "oklch": {
    "l": 0.46416,
    "c": 0.20669,
    "h": 275.1
  },
  "luminance": 0.08862
}

Semantic roles & 50–950 ramp

primary
#403FC9
secondary
#D0D094
accent
#DF48DE
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #403FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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