#403AB9#403AB9

#403AB9 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 44.1% C 0.192 H 277.1°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#403AB9
RGBrgb(64, 58, 185)
HSLhsl(243, 52%, 48%)
HSVhsv(243, 69%, 73%)
CMYKcmyk(65.4%, 68.6%, 0%, 27.5%)
CIE-LABlab(33.17, 41.51, -66.05)
CIE-LCHlch(33.17, 78.01, 302.14°)
OKLaboklab(44.14% 0.0239 -0.1906)
OKLCHoklch(44.14% 0.192 277.1)
XYZxyz(12.3815, 7.6178, 46.7074)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403AB9 #B3B93A
analogous
#3A73B9 #403AB9 #803AB9
triadic
#403AB9 #B9403A #3AB940
tetradic
#403AB9 #B93A73 #B3B93A #3AB980
square
#403AB9 #B93A73 #B3B93A #3AB980
split-complementary
#403AB9 #B9803A #73B93A
monochromatic
#201D5C #302B8A #403AB9 #6762CE #9491DC

Accessibility & contrast

On white

8.32
#403AB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#403AB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403AB9
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403AB9#FFFFFF#000000##FFFFFF
##403AB91.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BD
Deuteranopia (green-blind)
#0049B7
Tritanopia (blue-blind)
#005C75
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #403ab9;
/* rgb */ color: rgb(64, 58, 185);
/* oklch */ color: oklch(44.1% 0.192 277.1);
Tailwind
colors: {
  custom: {
    50: '#8471cf',
    500: '#403ab9',
    950: '#000000',
  },
}
SCSS
$custom: #403ab9;
$custom-light: #8471cf;
$custom-dark: #000000;
JSON
{
  "hex": "#403ab9",
  "rgb": {
    "r": 64,
    "g": 58,
    "b": 185
  },
  "hsl": {
    "h": 242.835,
    "s": 52.263,
    "l": 47.647
  },
  "oklch": {
    "l": 0.44141,
    "c": 0.19212,
    "h": 277.1
  },
  "luminance": 0.07619
}

Semantic roles & 50–950 ramp

primary
#403AB9
secondary
#C4C787
accent
#DC4CD5
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #403AB9

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

Preview Lab → · Contrast checker → · Palette generator →

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