#403AC2#403AC2

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

Color values

HEX#403AC2
RGBrgb(64, 58, 194)
HSLhsl(243, 54%, 49%)
HSVhsv(243, 70%, 76%)
CMYKcmyk(67%, 70.1%, 0%, 23.9%)
CIE-LABlab(34.00, 44.45, -69.99)
CIE-LCHlch(34.00, 82.91, 302.42°)
OKLaboklab(44.99% 0.0226 -0.2021)
OKLCHoklch(44.99% 0.203 276.4)
XYZxyz(13.3618, 8.0100, 51.8704)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403AC2 #BCC23A
analogous
#3A78C2 #403AC2 #843AC2
triadic
#403AC2 #C2403A #3AC240
tetradic
#403AC2 #C23A78 #BCC23A #3AC284
square
#403AC2 #C23A78 #BCC23A #3AC284
split-complementary
#403AC2 #C2843A #78C23A
monochromatic
#211E64 #302C93 #403AC2 #6C67D2 #9A97E0

Accessibility & contrast

On white

8.07
#403AC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#403AC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403AC2
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403AC2#FFFFFF#000000##FFFFFF
##403AC21.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C6
Deuteranopia (green-blind)
#004ABF
Tritanopia (blue-blind)
#005F7A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #403ac2;
/* rgb */ color: rgb(64, 58, 194);
/* oklch */ color: oklch(45.0% 0.203 276.4);
Tailwind
colors: {
  custom: {
    50: '#8671d6',
    500: '#403ac2',
    950: '#000000',
  },
}
SCSS
$custom: #403ac2;
$custom-light: #8671d6;
$custom-dark: #000000;
JSON
{
  "hex": "#403ac2",
  "rgb": {
    "r": 64,
    "g": 58,
    "b": 194
  },
  "hsl": {
    "h": 242.647,
    "s": 53.968,
    "l": 49.412
  },
  "oklch": {
    "l": 0.44989,
    "c": 0.20339,
    "h": 276.4
  },
  "luminance": 0.08011
}

Semantic roles & 50–950 ramp

primary
#403AC2
secondary
#C9CB8D
accent
#DD4AD7
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0D0814
muted
#7D7B83

Preview Lab

Preview with #403AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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