#403AA3#403AA3

#403AA3 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.2% C 0.163 H 279.3°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#403AA3
RGBrgb(64, 58, 163)
HSLhsl(243, 48%, 43%)
HSVhsv(243, 64%, 64%)
CMYKcmyk(60.7%, 64.4%, 0%, 36.1%)
CIE-LABlab(31.25, 34.21, -56.06)
CIE-LCHlch(31.25, 65.68, 301.39°)
OKLaboklab(42.16% 0.0264 -0.1613)
OKLCHoklch(42.16% 0.163 279.3)
XYZxyz(10.2362, 6.7597, 35.4086)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403AA3 #9DA33A
analogous
#3A68A3 #403AA3 #743AA3
triadic
#403AA3 #A3403A #3AA340
tetradic
#403AA3 #A33A68 #9DA33A #3AA374
square
#403AA3 #A33A68 #9DA33A #3AA374
split-complementary
#403AA3 #A3743A #68A33A
monochromatic
#1D1A49 #2E2A76 #403AA3 #5D57C3 #8984D3

Accessibility & contrast

On white

8.93
#403AA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#403AA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403AA3
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403AA3#FFFFFF#000000##FFFFFF
##403AA31.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA6
Deuteranopia (green-blind)
#0045A1
Tritanopia (blue-blind)
#005469
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #403aa3;
/* rgb */ color: rgb(64, 58, 163);
/* oklch */ color: oklch(42.2% 0.163 279.3);
Tailwind
colors: {
  custom: {
    50: '#8071bf',
    500: '#403aa3',
    950: '#000000',
  },
}
SCSS
$custom: #403aa3;
$custom-light: #8071bf;
$custom-dark: #000000;
JSON
{
  "hex": "#403aa3",
  "rgb": {
    "r": 64,
    "g": 58,
    "b": 163
  },
  "hsl": {
    "h": 243.429,
    "s": 47.511,
    "l": 43.333
  },
  "oklch": {
    "l": 0.42157,
    "c": 0.16349,
    "h": 279.3
  },
  "luminance": 0.0676
}

Semantic roles & 50–950 ramp

primary
#403AA3
secondary
#B9BD7C
accent
#D751CF
background
#F8F6FB
surface
#EFECF7
border
#CAC7D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #403AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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