#403BAD#403BAD

#403BAD is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.2% C 0.176 H 278.1°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#403BAD
RGBrgb(64, 59, 173)
HSLhsl(243, 49%, 45%)
HSVhsv(243, 66%, 68%)
CMYKcmyk(63%, 65.9%, 0%, 32.2%)
CIE-LABlab(32.33, 36.93, -60.30)
CIE-LCHlch(32.33, 70.71, 301.48°)
OKLaboklab(43.21% 0.0246 -0.1738)
OKLCHoklch(43.21% 0.176 278.1)
XYZxyz(11.2187, 7.2342, 40.3322)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403BAD #A8AD3B
analogous
#3B6FAD #403BAD #793BAD
triadic
#403BAD #AD403B #3BAD40
tetradic
#403BAD #AD3B6F #A8AD3B #3BAD79
square
#403BAD #AD3B6F #A8AD3B #3BAD79
split-complementary
#403BAD #AD793B #6FAD3B
monochromatic
#1E1C52 #2F2B7F #403BAD #625DC8 #8E8BD7

Accessibility & contrast

On white

8.58
#403BAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#403BAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403BAD
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403BAD#FFFFFF#000000##FFFFFF
##403BAD1.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B1
Deuteranopia (green-blind)
#0047AB
Tritanopia (blue-blind)
#00586F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #403bad;
/* rgb */ color: rgb(64, 59, 173);
/* oklch */ color: oklch(43.2% 0.176 278.1);
Tailwind
colors: {
  custom: {
    50: '#8171c6',
    500: '#403bad',
    950: '#000000',
  },
}
SCSS
$custom: #403bad;
$custom-light: #8171c6;
$custom-dark: #000000;
JSON
{
  "hex": "#403bad",
  "rgb": {
    "r": 64,
    "g": 59,
    "b": 173
  },
  "hsl": {
    "h": 242.632,
    "s": 49.138,
    "l": 45.49
  },
  "oklch": {
    "l": 0.43207,
    "c": 0.17551,
    "h": 278.1
  },
  "luminance": 0.07235
}

Semantic roles & 50–950 ramp

primary
#403BAD
secondary
#BFC282
accent
#D94FD3
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #403BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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