#403B93#403B93

#403B93 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.0% C 0.140 H 280.8°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#403B93
RGBrgb(64, 59, 147)
HSLhsl(243, 43%, 40%)
HSVhsv(243, 60%, 58%)
CMYKcmyk(56.5%, 59.9%, 0%, 42.4%)
CIE-LABlab(30.22, 28.21, -48.03)
CIE-LCHlch(30.22, 55.70, 300.43°)
OKLaboklab(40.99% 0.0262 -0.1377)
OKLCHoklch(40.99% 0.14 280.8)
XYZxyz(8.9431, 6.3239, 28.3475)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403B93 #8E933B
analogous
#3B6293 #403B93 #6C3B93
triadic
#403B93 #93403B #3B9340
tetradic
#403B93 #933B62 #8E933B #3B936C
square
#403B93 #933B62 #8E933B #3B936C
split-complementary
#403B93 #936C3B #62933B
monochromatic
#1A183C #2D2967 #403B93 #5852B9 #827DCB

Accessibility & contrast

On white

9.27
#403B93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#403B93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403B93
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403B93#FFFFFF#000000##FFFFFF
##403B931.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A96
Deuteranopia (green-blind)
#004491
Tritanopia (blue-blind)
#185061
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #403b93;
/* rgb */ color: rgb(64, 59, 147);
/* oklch */ color: oklch(41.0% 0.140 280.8);
Tailwind
colors: {
  custom: {
    50: '#7d71b3',
    500: '#403b93',
    950: '#000000',
  },
}
SCSS
$custom: #403b93;
$custom-light: #7d71b3;
$custom-dark: #000000;
JSON
{
  "hex": "#403b93",
  "rgb": {
    "r": 64,
    "g": 59,
    "b": 147
  },
  "hsl": {
    "h": 243.409,
    "s": 42.718,
    "l": 40.392
  },
  "oklch": {
    "l": 0.40994,
    "c": 0.14019,
    "h": 280.8
  },
  "luminance": 0.06325
}

Semantic roles & 50–950 ramp

primary
#403B93
secondary
#B1B575
accent
#D255CB
background
#F8F6FB
surface
#EFECF6
border
#CAC7D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #403B93

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

Preview Lab → · Contrast checker → · Palette generator →

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