#403AC1#403AC1

#403AC1 is a dark, highly saturated blue. Relative luminance 0.080; OKLCH L 44.9% C 0.202 H 276.4°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#403AC1
RGBrgb(64, 58, 193)
HSLhsl(243, 54%, 49%)
HSVhsv(243, 70%, 76%)
CMYKcmyk(66.8%, 69.9%, 0%, 24.3%)
CIE-LABlab(33.91, 44.12, -69.55)
CIE-LCHlch(33.91, 82.37, 302.39°)
OKLaboklab(44.89% 0.0227 -0.2009)
OKLCHoklch(44.89% 0.202 276.4)
XYZxyz(13.2499, 7.9652, 51.2809)
Luminance0.0797 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403AC1 #BBC13A
analogous
#3A77C1 #403AC1 #843AC1
triadic
#403AC1 #C1403A #3AC140
tetradic
#403AC1 #C13A77 #BBC13A #3AC184
square
#403AC1 #C13A77 #BBC13A #3AC184
split-complementary
#403AC1 #C1843A #77C13A
monochromatic
#211E63 #302C92 #403AC1 #6C67D1 #9996DF

Accessibility & contrast

On white

8.10
#403AC1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#403AC1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403AC1
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403AC1#FFFFFF#000000##FFFFFF
##403AC11.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C5
Deuteranopia (green-blind)
#004ABE
Tritanopia (blue-blind)
#005F79
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #403ac1;
/* rgb */ color: rgb(64, 58, 193);
/* oklch */ color: oklch(44.9% 0.202 276.4);
Tailwind
colors: {
  custom: {
    50: '#8571d5',
    500: '#403ac1',
    950: '#000000',
  },
}
SCSS
$custom: #403ac1;
$custom-light: #8571d5;
$custom-dark: #000000;
JSON
{
  "hex": "#403ac1",
  "rgb": {
    "r": 64,
    "g": 58,
    "b": 193
  },
  "hsl": {
    "h": 242.667,
    "s": 53.785,
    "l": 49.216
  },
  "oklch": {
    "l": 0.44894,
    "c": 0.20215,
    "h": 276.4
  },
  "luminance": 0.07966
}

Semantic roles & 50–950 ramp

primary
#403AC1
secondary
#C8CB8C
accent
#DD4BD7
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0D0814
muted
#7D7B83

Preview Lab

Preview with #403AC1

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

Preview Lab → · Contrast checker → · Palette generator →

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