#403ACA#403ACA

#403ACA is a mid, highly saturated blue. Relative luminance 0.084; OKLCH L 45.8% C 0.213 H 275.7°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#403ACA
RGBrgb(64, 58, 202)
HSLhsl(243, 58%, 51%)
HSVhsv(243, 71%, 79%)
CMYKcmyk(68.3%, 71.3%, 0%, 20.8%)
CIE-LABlab(34.76, 47.04, -73.42)
CIE-LCHlch(34.76, 87.19, 302.65°)
OKLaboklab(45.76% 0.0213 -0.2122)
OKLCHoklch(45.76% 0.213 275.7)
XYZxyz(14.2846, 8.3791, 56.7302)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403ACA #C4CA3A
analogous
#3A7CCA #403ACA #883ACA
triadic
#403ACA #CA403A #3ACA40
tetradic
#403ACA #CA3A7C #C4CA3A #3ACA88
square
#403ACA #CA3A7C #C4CA3A #3ACA88
split-complementary
#403ACA #CA883A #7CCA3A
monochromatic
#201D6C #2F2A9D #403ACA #6F6AD7 #9E9AE4

Accessibility & contrast

On white

7.85
#403ACA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#403ACA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403ACA
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403ACA#FFFFFF#000000##FFFFFF
##403ACA1.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CE
Deuteranopia (green-blind)
#004BC7
Tritanopia (blue-blind)
#00627E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #403aca;
/* rgb */ color: rgb(64, 58, 202);
/* oklch */ color: oklch(45.8% 0.213 275.7);
Tailwind
colors: {
  custom: {
    50: '#8772db',
    500: '#403aca',
    950: '#000000',
  },
}
SCSS
$custom: #403aca;
$custom-light: #8772db;
$custom-dark: #000000;
JSON
{
  "hex": "#403aca",
  "rgb": {
    "r": 64,
    "g": 58,
    "b": 202
  },
  "hsl": {
    "h": 242.5,
    "s": 57.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.4576,
    "c": 0.21322,
    "h": 275.7
  },
  "luminance": 0.0838
}

Semantic roles & 50–950 ramp

primary
#403ACA
secondary
#CDD090
accent
#E147DA
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #403ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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