#403B98#403B98

#403B98 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.4% C 0.147 H 280.2°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#403B98
RGBrgb(64, 59, 152)
HSLhsl(243, 44%, 41%)
HSVhsv(243, 61%, 60%)
CMYKcmyk(57.9%, 61.2%, 0%, 40.4%)
CIE-LABlab(30.60, 29.89, -50.45)
CIE-LCHlch(30.60, 58.64, 300.64°)
OKLaboklab(41.4% 0.0261 -0.1448)
OKLCHoklch(41.4% 0.147 280.2)
XYZxyz(9.3440, 6.4843, 30.4589)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403B98 #93983B
analogous
#3B6598 #403B98 #6F3B98
triadic
#403B98 #98403B #3B9840
tetradic
#403B98 #983B65 #93983B #3B986F
square
#403B98 #983B65 #93983B #3B986F
split-complementary
#403B98 #986F3B #65983B
monochromatic
#1B1940 #2D2A6C #403B98 #5954BD #8480CE

Accessibility & contrast

On white

9.14
#403B98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#403B98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403B98
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403B98#FFFFFF#000000##FFFFFF
##403B981.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9B
Deuteranopia (green-blind)
#004596
Tritanopia (blue-blind)
#0F5163
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #403b98;
/* rgb */ color: rgb(64, 59, 152);
/* oklch */ color: oklch(41.4% 0.147 280.2);
Tailwind
colors: {
  custom: {
    50: '#7e71b7',
    500: '#403b98',
    950: '#000000',
  },
}
SCSS
$custom: #403b98;
$custom-light: #7e71b7;
$custom-dark: #000000;
JSON
{
  "hex": "#403b98",
  "rgb": {
    "r": 64,
    "g": 59,
    "b": 152
  },
  "hsl": {
    "h": 243.226,
    "s": 44.076,
    "l": 41.373
  },
  "oklch": {
    "l": 0.41401,
    "c": 0.14718,
    "h": 280.2
  },
  "luminance": 0.06485
}

Semantic roles & 50–950 ramp

primary
#403B98
secondary
#B4B777
accent
#D454CD
background
#F8F6FB
surface
#EFECF6
border
#CAC7D0
text
#0B0711
muted
#7C7A80

Preview Lab

Preview with #403B98

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

Preview Lab → · Contrast checker → · Palette generator →

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