#403CCE#403CCE

#403CCE is a mid, highly saturated blue. Relative luminance 0.088; OKLCH L 46.4% C 0.216 H 275.2°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#403CCE
RGBrgb(64, 60, 206)
HSLhsl(242, 60%, 52%)
HSVhsv(242, 71%, 81%)
CMYKcmyk(68.9%, 70.9%, 0%, 19.2%)
CIE-LABlab(35.55, 47.20, -74.44)
CIE-LCHlch(35.55, 88.14, 302.38°)
OKLaboklab(46.44% 0.0194 -0.2151)
OKLCHoklch(46.44% 0.216 275.2)
XYZxyz(14.8671, 8.7766, 59.2911)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403CCE #CACE3C
analogous
#3C81CE #403CCE #893CCE
triadic
#403CCE #CE403C #3CCE40
tetradic
#403CCE #CE3C81 #CACE3C #3CCE89
square
#403CCE #CE3C81 #CACE3C #3CCE89
split-complementary
#403CCE #CE893C #81CE3C
monochromatic
#1F1D73 #2C29A4 #403CCE #706DDA #A09EE7

Accessibility & contrast

On white

7.62
#403CCE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#403CCE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403CCE
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403CCE#FFFFFF#000000##FFFFFF
##403CCE1.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD2
Deuteranopia (green-blind)
#004DCB
Tritanopia (blue-blind)
#006581
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #403cce;
/* rgb */ color: rgb(64, 60, 206);
/* oklch */ color: oklch(46.4% 0.216 275.2);
Tailwind
colors: {
  custom: {
    50: '#8873de',
    500: '#403cce',
    950: '#000000',
  },
}
SCSS
$custom: #403cce;
$custom-light: #8873de;
$custom-dark: #000000;
JSON
{
  "hex": "#403cce",
  "rgb": {
    "r": 64,
    "g": 60,
    "b": 206
  },
  "hsl": {
    "h": 241.644,
    "s": 59.836,
    "l": 52.157
  },
  "oklch": {
    "l": 0.4644,
    "c": 0.21602,
    "h": 275.2
  },
  "luminance": 0.08778
}

Semantic roles & 50–950 ramp

primary
#403CCE
secondary
#D1D393
accent
#E345DF
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #403CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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