#403BE2#403BE2

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

Color values

HEX#403BE2
RGBrgb(64, 59, 226)
HSLhsl(242, 74%, 56%)
HSVhsv(242, 74%, 89%)
CMYKcmyk(71.7%, 73.9%, 0%, 11.4%)
CIE-LABlab(37.31, 54.12, -83.04)
CIE-LCHlch(37.31, 99.12, 303.09°)
OKLaboklab(48.28% 0.0164 -0.2402)
OKLCHoklch(48.28% 0.241 273.9)
XYZxyz(17.4012, 9.7072, 72.8934)
Luminance0.0971 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403BE2 #DDE23B
analogous
#3B8AE2 #403BE2 #933BE2
triadic
#403BE2 #E2403B #3BE240
tetradic
#403BE2 #E23B8A #DDE23B #3BE293
square
#403BE2 #E23B8A #DDE23B #3BE293
split-complementary
#403BE2 #E2933B #8AE23B
monochromatic
#19158E #221DC3 #403BE2 #7470EA #A8A6F2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##403BE2#FFFFFF#000000##FFFFFF
##403BE21.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)
#0060E7
Deuteranopia (green-blind)
#0050DF
Tritanopia (blue-blind)
#006C8C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #403be2;
/* rgb */ color: rgb(64, 59, 226);
/* oklch */ color: oklch(48.3% 0.241 273.9);
Tailwind
colors: {
  custom: {
    50: '#8c73ed',
    500: '#403be2',
    950: '#000000',
  },
}
SCSS
$custom: #403be2;
$custom-light: #8c73ed;
$custom-dark: #000000;
JSON
{
  "hex": "#403be2",
  "rgb": {
    "r": 64,
    "g": 59,
    "b": 226
  },
  "hsl": {
    "h": 241.796,
    "s": 74.222,
    "l": 55.882
  },
  "oklch": {
    "l": 0.48279,
    "c": 0.24078,
    "h": 273.9
  },
  "luminance": 0.09709
}

Semantic roles & 50–950 ramp

primary
#403BE2
secondary
#DDDF9A
accent
#F137EB
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #403BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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