#403BEA#403BEA

#403BEA is a mid, highly saturated blue. Relative luminance 0.102; OKLCH L 49.1% C 0.250 H 273.4°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#403BEA
RGBrgb(64, 59, 234)
HSLhsl(242, 81%, 57%)
HSVhsv(242, 75%, 92%)
CMYKcmyk(72.6%, 74.8%, 0%, 8.2%)
CIE-LABlab(38.12, 56.61, -86.26)
CIE-LCHlch(38.12, 103.18, 303.28°)
OKLaboklab(49.09% 0.0149 -0.2496)
OKLCHoklch(49.09% 0.25 273.4)
XYZxyz(18.5246, 10.1565, 78.8101)
Luminance0.1016 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403BEA #E5EA3B
analogous
#3B8EEA #403BEA #973BEA
triadic
#403BEA #EA403B #3BEA40
tetradic
#403BEA #EA3B8E #E5EA3B #3BEA97
square
#403BEA #EA3B8E #E5EA3B #3BEA97
split-complementary
#403BEA #EA973B #8EEA3B
monochromatic
#14119A #1C16D1 #403BEA #7672F0 #ACAAF6

Accessibility & contrast

On white

6.93
#403BEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#403BEA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #403BEA
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403BEA#FFFFFF#000000##FFFFFF
##403BEA1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062EF
Deuteranopia (green-blind)
#0051E7
Tritanopia (blue-blind)
#006F90
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #403bea;
/* rgb */ color: rgb(64, 59, 234);
/* oklch */ color: oklch(49.1% 0.250 273.4);
Tailwind
colors: {
  custom: {
    50: '#8e74f2',
    500: '#403bea',
    950: '#000000',
  },
}
SCSS
$custom: #403bea;
$custom-light: #8e74f2;
$custom-dark: #000000;
JSON
{
  "hex": "#403bea",
  "rgb": {
    "r": 64,
    "g": 59,
    "b": 234
  },
  "hsl": {
    "h": 241.714,
    "s": 80.645,
    "l": 57.451
  },
  "oklch": {
    "l": 0.49091,
    "c": 0.25002,
    "h": 273.4
  },
  "luminance": 0.10158
}

Semantic roles & 50–950 ramp

primary
#403BEA
secondary
#E2E49D
accent
#F731F1
background
#F9F7FF
surface
#F2EDFE
border
#CCC8D6
text
#0E0817
muted
#7E7B85

Preview Lab

Preview with #403BEA

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

Preview Lab → · Contrast checker → · Palette generator →

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