#403BE6#403BE6

#403BE6 is a mid, highly saturated blue. Relative luminance 0.099; OKLCH L 48.7% C 0.245 H 273.7°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#403BE6
RGBrgb(64, 59, 230)
HSLhsl(242, 77%, 57%)
HSVhsv(242, 74%, 90%)
CMYKcmyk(72.2%, 74.3%, 0%, 9.8%)
CIE-LABlab(37.72, 55.37, -84.66)
CIE-LCHlch(37.72, 101.16, 303.19°)
OKLaboklab(48.68% 0.0157 -0.2449)
OKLCHoklch(48.68% 0.245 273.7)
XYZxyz(17.9565, 9.9293, 75.8178)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403BE6 #E1E63B
analogous
#3B8CE6 #403BE6 #953BE6
triadic
#403BE6 #E6403B #3BE640
tetradic
#403BE6 #E63B8C #E1E63B #3BE695
square
#403BE6 #E63B8C #E1E63B #3BE695
split-complementary
#403BE6 #E6953B #8CE63B
monochromatic
#171394 #1F1ACA #403BE6 #7571ED #AAA8F4

Accessibility & contrast

On white

7.03
#403BE6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#403BE6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403BE6
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403BE6#FFFFFF#000000##FFFFFF
##403BE61.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #403be6;
/* rgb */ color: rgb(64, 59, 230);
/* oklch */ color: oklch(48.7% 0.245 273.7);
Tailwind
colors: {
  custom: {
    50: '#8d74ef',
    500: '#403be6',
    950: '#000000',
  },
}
SCSS
$custom: #403be6;
$custom-light: #8d74ef;
$custom-dark: #000000;
JSON
{
  "hex": "#403be6",
  "rgb": {
    "r": 64,
    "g": 59,
    "b": 230
  },
  "hsl": {
    "h": 241.754,
    "s": 77.376,
    "l": 56.667
  },
  "oklch": {
    "l": 0.48684,
    "c": 0.24542,
    "h": 273.7
  },
  "luminance": 0.09931
}

Semantic roles & 50–950 ramp

primary
#403BE6
secondary
#DFE19B
accent
#F434EE
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0817
muted
#7E7B85

Preview Lab

Preview with #403BE6

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

Preview Lab → · Contrast checker → · Palette generator →

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