#403BE3#403BE3

#403BE3 is a mid, highly saturated blue. Relative luminance 0.098; OKLCH L 48.4% C 0.242 H 273.9°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#403BE3
RGBrgb(64, 59, 227)
HSLhsl(242, 75%, 56%)
HSVhsv(242, 74%, 89%)
CMYKcmyk(71.8%, 74%, 0%, 11%)
CIE-LABlab(37.41, 54.43, -83.45)
CIE-LCHlch(37.41, 99.63, 303.12°)
OKLaboklab(48.38% 0.0163 -0.2414)
OKLCHoklch(48.38% 0.242 273.9)
XYZxyz(17.5388, 9.7622, 73.6181)
Luminance0.0976 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403BE3 #DEE33B
analogous
#3B8AE3 #403BE3 #943BE3
triadic
#403BE3 #E3403B #3BE340
tetradic
#403BE3 #E33B8A #DEE33B #3BE394
square
#403BE3 #E33B8A #DEE33B #3BE394
split-complementary
#403BE3 #E3943B #8AE33B
monochromatic
#18148F #211CC5 #403BE3 #7471EB #A8A6F2

Accessibility & contrast

On white

7.11
#403BE3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#403BE3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403BE3
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403BE3#FFFFFF#000000##FFFFFF
##403BE31.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060E8
Deuteranopia (green-blind)
#0050E0
Tritanopia (blue-blind)
#006C8C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #403be3;
/* rgb */ color: rgb(64, 59, 227);
/* oklch */ color: oklch(48.4% 0.242 273.9);
Tailwind
colors: {
  custom: {
    50: '#8c73ed',
    500: '#403be3',
    950: '#000000',
  },
}
SCSS
$custom: #403be3;
$custom-light: #8c73ed;
$custom-dark: #000000;
JSON
{
  "hex": "#403be3",
  "rgb": {
    "r": 64,
    "g": 59,
    "b": 227
  },
  "hsl": {
    "h": 241.786,
    "s": 75,
    "l": 56.078
  },
  "oklch": {
    "l": 0.4838,
    "c": 0.24195,
    "h": 273.9
  },
  "luminance": 0.09764
}

Semantic roles & 50–950 ramp

primary
#403BE3
secondary
#DEE09A
accent
#F236EC
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0817
muted
#7E7B85

Preview Lab

Preview with #403BE3

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

Preview Lab → · Contrast checker → · Palette generator →

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