#403CE0#403CE0

#403CE0 is a mid, highly saturated blue. Relative luminance 0.097; OKLCH L 48.2% C 0.238 H 273.9°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#403CE0
RGBrgb(64, 60, 224)
HSLhsl(241, 73%, 56%)
HSVhsv(241, 73%, 88%)
CMYKcmyk(71.4%, 73.2%, 0%, 12.2%)
CIE-LABlab(37.30, 52.96, -81.92)
CIE-LCHlch(37.30, 97.54, 302.88°)
OKLaboklab(48.21% 0.0163 -0.2369)
OKLCHoklch(48.21% 0.238 273.9)
XYZxyz(17.1803, 9.7018, 71.4738)
Luminance0.0970 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403CE0 #DCE03C
analogous
#3C8AE0 #403CE0 #923CE0
triadic
#403CE0 #E0403C #3CE040
tetradic
#403CE0 #E03C8A #DCE03C #3CE092
square
#403CE0 #E03C8A #DCE03C #3CE092
split-complementary
#403CE0 #E0923C #8AE03C
monochromatic
#19168B #231FC0 #403CE0 #7471E8 #A7A6F1

Accessibility & contrast

On white

7.14
#403CE0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#403CE0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403CE0
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403CE0#FFFFFF#000000##FFFFFF
##403CE01.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FE5
Deuteranopia (green-blind)
#0050DD
Tritanopia (blue-blind)
#006B8B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #403ce0;
/* rgb */ color: rgb(64, 60, 224);
/* oklch */ color: oklch(48.2% 0.238 273.9);
Tailwind
colors: {
  custom: {
    50: '#8c74eb',
    500: '#403ce0',
    950: '#000000',
  },
}
SCSS
$custom: #403ce0;
$custom-light: #8c74eb;
$custom-dark: #000000;
JSON
{
  "hex": "#403ce0",
  "rgb": {
    "r": 64,
    "g": 60,
    "b": 224
  },
  "hsl": {
    "h": 241.463,
    "s": 72.566,
    "l": 55.686
  },
  "oklch": {
    "l": 0.48212,
    "c": 0.23751,
    "h": 273.9
  },
  "luminance": 0.09704
}

Semantic roles & 50–950 ramp

primary
#403CE0
secondary
#DCDE9A
accent
#EF39EB
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #403CE0

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

Preview Lab → · Contrast checker → · Palette generator →

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