#403BC9#403BC9

#403BC9 is a mid, highly saturated blue. Relative luminance 0.084; OKLCH L 45.8% C 0.211 H 275.7°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#403BC9
RGBrgb(64, 59, 201)
HSLhsl(242, 57%, 51%)
HSVhsv(242, 71%, 79%)
CMYKcmyk(68.2%, 70.6%, 0%, 21.2%)
CIE-LABlab(34.87, 46.15, -72.65)
CIE-LCHlch(34.87, 86.07, 302.42°)
OKLaboklab(45.81% 0.0208 -0.2099)
OKLCHoklch(45.81% 0.211 275.7)
XYZxyz(14.2175, 8.4337, 56.1256)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403BC9 #C4C93B
analogous
#3B7DC9 #403BC9 #873BC9
triadic
#403BC9 #C9403B #3BC940
tetradic
#403BC9 #C93B7D #C4C93B #3BC987
square
#403BC9 #C93B7D #C4C93B #3BC987
split-complementary
#403BC9 #C9873B #7DC93B
monochromatic
#201E6C #2F2B9C #403BC9 #6F6BD6 #9E9BE3

Accessibility & contrast

On white

7.82
#403BC9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#403BC9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403BC9
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403BC9#FFFFFF#000000##FFFFFF
##403BC91.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #403bc9;
/* rgb */ color: rgb(64, 59, 201);
/* oklch */ color: oklch(45.8% 0.211 275.7);
Tailwind
colors: {
  custom: {
    50: '#8772db',
    500: '#403bc9',
    950: '#000000',
  },
}
SCSS
$custom: #403bc9;
$custom-light: #8772db;
$custom-dark: #000000;
JSON
{
  "hex": "#403bc9",
  "rgb": {
    "r": 64,
    "g": 59,
    "b": 201
  },
  "hsl": {
    "h": 242.113,
    "s": 56.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.4581,
    "c": 0.21096,
    "h": 275.7
  },
  "luminance": 0.08435
}

Semantic roles & 50–950 ramp

primary
#403BC9
secondary
#CDCF90
accent
#E048DB
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #403BC9

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

Preview Lab → · Contrast checker → · Palette generator →

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