#403A93#403A93

#403A93 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.8% C 0.142 H 281.1°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#403A93
RGBrgb(64, 58, 147)
HSLhsl(244, 43%, 40%)
HSVhsv(244, 61%, 58%)
CMYKcmyk(56.5%, 60.5%, 0%, 42.4%)
CIE-LABlab(29.97, 28.85, -48.43)
CIE-LCHlch(29.97, 56.37, 300.79°)
OKLaboklab(40.81% 0.0273 -0.1389)
OKLCHoklch(40.81% 0.142 281.1)
XYZxyz(8.8922, 6.2221, 28.3305)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403A93 #8D933A
analogous
#3A6093 #403A93 #6C3A93
triadic
#403A93 #93403A #3A9340
tetradic
#403A93 #933A60 #8D933A #3A936C
square
#403A93 #933A60 #8D933A #3A936C
split-complementary
#403A93 #936C3A #60933A
monochromatic
#1A173B #2D2967 #403A93 #5750BA #817CCB

Accessibility & contrast

On white

9.36
#403A93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#403A93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403A93
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403A93#FFFFFF#000000##FFFFFF
##403A931.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A96
Deuteranopia (green-blind)
#004391
Tritanopia (blue-blind)
#184F60
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #403a93;
/* rgb */ color: rgb(64, 58, 147);
/* oklch */ color: oklch(40.8% 0.142 281.1);
Tailwind
colors: {
  custom: {
    50: '#7d70b3',
    500: '#403a93',
    950: '#000000',
  },
}
SCSS
$custom: #403a93;
$custom-light: #7d70b3;
$custom-dark: #000000;
JSON
{
  "hex": "#403a93",
  "rgb": {
    "r": 64,
    "g": 58,
    "b": 147
  },
  "hsl": {
    "h": 244.045,
    "s": 43.415,
    "l": 40.196
  },
  "oklch": {
    "l": 0.4081,
    "c": 0.14157,
    "h": 281.1
  },
  "luminance": 0.06223
}

Semantic roles & 50–950 ramp

primary
#403A93
secondary
#B0B574
accent
#D355CB
background
#F8F6FB
surface
#EFECF6
border
#CAC7D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #403A93

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

Preview Lab → · Contrast checker → · Palette generator →

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