#403AC0#403AC0

#403AC0 is a dark, highly saturated blue. Relative luminance 0.079; OKLCH L 44.8% C 0.201 H 276.5°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#403AC0
RGBrgb(64, 58, 192)
HSLhsl(243, 54%, 49%)
HSVhsv(243, 70%, 75%)
CMYKcmyk(66.7%, 69.8%, 0%, 24.7%)
CIE-LABlab(33.82, 43.80, -69.12)
CIE-LCHlch(33.82, 81.83, 302.36°)
OKLaboklab(44.8% 0.0229 -0.1996)
OKLCHoklch(44.8% 0.201 276.5)
XYZxyz(13.1387, 7.9207, 50.6954)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403AC0 #BAC03A
analogous
#3A77C0 #403AC0 #833AC0
triadic
#403AC0 #C0403A #3AC040
tetradic
#403AC0 #C03A77 #BAC03A #3AC083
square
#403AC0 #C03A77 #BAC03A #3AC083
split-complementary
#403AC0 #C0833A #77C03A
monochromatic
#211E62 #302C91 #403AC0 #6B66D1 #9995DF

Accessibility & contrast

On white

8.13
#403AC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#403AC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403AC0
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403AC0#FFFFFF#000000##FFFFFF
##403AC01.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C4
Deuteranopia (green-blind)
#004ABE
Tritanopia (blue-blind)
#005E79
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #403ac0;
/* rgb */ color: rgb(64, 58, 192);
/* oklch */ color: oklch(44.8% 0.201 276.5);
Tailwind
colors: {
  custom: {
    50: '#8571d4',
    500: '#403ac0',
    950: '#000000',
  },
}
SCSS
$custom: #403ac0;
$custom-light: #8571d4;
$custom-dark: #000000;
JSON
{
  "hex": "#403ac0",
  "rgb": {
    "r": 64,
    "g": 58,
    "b": 192
  },
  "hsl": {
    "h": 242.687,
    "s": 53.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.44799,
    "c": 0.20091,
    "h": 276.5
  },
  "luminance": 0.07922
}

Semantic roles & 50–950 ramp

primary
#403AC0
secondary
#C8CA8B
accent
#DD4BD6
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #403AC0

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

Preview Lab → · Contrast checker → · Palette generator →

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