#403B97#403B97

#403B97 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.3% C 0.146 H 280.3°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#403B97
RGBrgb(64, 59, 151)
HSLhsl(243, 44%, 41%)
HSVhsv(243, 61%, 59%)
CMYKcmyk(57.6%, 60.9%, 0%, 40.8%)
CIE-LABlab(30.52, 29.55, -49.97)
CIE-LCHlch(30.52, 58.06, 300.60°)
OKLaboklab(41.32% 0.0261 -0.1434)
OKLCHoklch(41.32% 0.146 280.3)
XYZxyz(9.2625, 6.4517, 30.0294)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403B97 #92973B
analogous
#3B6497 #403B97 #6E3B97
triadic
#403B97 #97403B #3B9740
tetradic
#403B97 #973B64 #92973B #3B976E
square
#403B97 #973B64 #92973B #3B976E
split-complementary
#403B97 #976E3B #64973B
monochromatic
#1B193F #2D2A6B #403B97 #5953BC #847FCD

Accessibility & contrast

On white

9.17
#403B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#403B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403B97
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403B97#FFFFFF#000000##FFFFFF
##403B971.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9A
Deuteranopia (green-blind)
#004495
Tritanopia (blue-blind)
#115163
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #403b97;
/* rgb */ color: rgb(64, 59, 151);
/* oklch */ color: oklch(41.3% 0.146 280.3);
Tailwind
colors: {
  custom: {
    50: '#7d71b6',
    500: '#403b97',
    950: '#000000',
  },
}
SCSS
$custom: #403b97;
$custom-light: #7d71b6;
$custom-dark: #000000;
JSON
{
  "hex": "#403b97",
  "rgb": {
    "r": 64,
    "g": 59,
    "b": 151
  },
  "hsl": {
    "h": 243.261,
    "s": 43.81,
    "l": 41.176
  },
  "oklch": {
    "l": 0.41319,
    "c": 0.14579,
    "h": 280.3
  },
  "luminance": 0.06452
}

Semantic roles & 50–950 ramp

primary
#403B97
secondary
#B3B777
accent
#D454CD
background
#F8F6FB
surface
#EFECF6
border
#CAC7D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #403B97

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

Preview Lab → · Contrast checker → · Palette generator →

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