#403CE5#403CE5

#403CE5 is a mid, highly saturated blue. Relative luminance 0.100; OKLCH L 48.7% C 0.243 H 273.6°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#403CE5
RGBrgb(64, 60, 229)
HSLhsl(241, 76%, 57%)
HSVhsv(241, 74%, 90%)
CMYKcmyk(72.1%, 73.8%, 0%, 10.2%)
CIE-LABlab(37.80, 54.53, -83.95)
CIE-LCHlch(37.80, 100.10, 303.01°)
OKLaboklab(48.72% 0.0154 -0.2428)
OKLCHoklch(48.72% 0.243 273.6)
XYZxyz(17.8684, 9.9770, 75.0976)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403CE5 #E1E53C
analogous
#3C8DE5 #403CE5 #953CE5
triadic
#403CE5 #E5403C #3CE540
tetradic
#403CE5 #E53C8D #E1E53C #3CE595
square
#403CE5 #E53C8D #E1E53C #3CE595
split-complementary
#403CE5 #E5953C #8DE53C
monochromatic
#171493 #1F1BC9 #403CE5 #7572EC #AAA8F3

Accessibility & contrast

On white

7.01
#403CE5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#403CE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #403CE5
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403CE5#FFFFFF#000000##FFFFFF
##403CE51.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061EA
Deuteranopia (green-blind)
#0051E2
Tritanopia (blue-blind)
#006D8E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #403ce5;
/* rgb */ color: rgb(64, 60, 229);
/* oklch */ color: oklch(48.7% 0.243 273.6);
Tailwind
colors: {
  custom: {
    50: '#8d74ef',
    500: '#403ce5',
    950: '#000000',
  },
}
SCSS
$custom: #403ce5;
$custom-light: #8d74ef;
$custom-dark: #000000;
JSON
{
  "hex": "#403ce5",
  "rgb": {
    "r": 64,
    "g": 60,
    "b": 229
  },
  "hsl": {
    "h": 241.42,
    "s": 76.471,
    "l": 56.667
  },
  "oklch": {
    "l": 0.48715,
    "c": 0.24334,
    "h": 273.6
  },
  "luminance": 0.09979
}

Semantic roles & 50–950 ramp

primary
#403CE5
secondary
#DFE19C
accent
#F335EF
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0817
muted
#7E7B85

Preview Lab

Preview with #403CE5

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

Preview Lab → · Contrast checker → · Palette generator →

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