#403AB3#403AB3

#403AB3 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.6% C 0.184 H 277.7°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#403AB3
RGBrgb(64, 58, 179)
HSLhsl(243, 51%, 46%)
HSVhsv(243, 68%, 70%)
CMYKcmyk(64.2%, 67.6%, 0%, 29.8%)
CIE-LABlab(32.63, 39.53, -63.38)
CIE-LCHlch(32.63, 74.70, 301.95°)
OKLaboklab(43.59% 0.0247 -0.1828)
OKLCHoklch(43.59% 0.184 277.7)
XYZxyz(11.7615, 7.3698, 43.4418)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403AB3 #ADB33A
analogous
#3A71B3 #403AB3 #7D3AB3
triadic
#403AB3 #B3403A #3AB340
tetradic
#403AB3 #B33A71 #ADB33A #3AB37D
square
#403AB3 #B33A71 #ADB33A #3AB37D
split-complementary
#403AB3 #B37D3A #71B33A
monochromatic
#1F1C57 #2F2B85 #403AB3 #645FCB #918DDA

Accessibility & contrast

On white

8.49
#403AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#403AB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403AB3
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403AB3#FFFFFF#000000##FFFFFF
##403AB31.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B7
Deuteranopia (green-blind)
#0048B1
Tritanopia (blue-blind)
#005A71
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #403ab3;
/* rgb */ color: rgb(64, 58, 179);
/* oklch */ color: oklch(43.6% 0.184 277.7);
Tailwind
colors: {
  custom: {
    50: '#8371cb',
    500: '#403ab3',
    950: '#000000',
  },
}
SCSS
$custom: #403ab3;
$custom-light: #8371cb;
$custom-dark: #000000;
JSON
{
  "hex": "#403ab3",
  "rgb": {
    "r": 64,
    "g": 58,
    "b": 179
  },
  "hsl": {
    "h": 242.975,
    "s": 51.055,
    "l": 46.471
  },
  "oklch": {
    "l": 0.43586,
    "c": 0.18447,
    "h": 277.7
  },
  "luminance": 0.07371
}

Semantic roles & 50–950 ramp

primary
#403AB3
secondary
#C2C584
accent
#DB4DD4
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #403AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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