#403EBD#403EBD

#403EBD is a mid, vivid blue. Relative luminance 0.082; OKLCH L 45.1% C 0.193 H 276.1°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#403EBD
RGBrgb(64, 62, 189)
HSLhsl(241, 51%, 49%)
HSVhsv(241, 67%, 74%)
CMYKcmyk(66.1%, 67.2%, 0%, 25.9%)
CIE-LABlab(34.41, 40.45, -66.38)
CIE-LCHlch(34.41, 77.73, 301.35°)
OKLaboklab(45.15% 0.0205 -0.1916)
OKLCHoklch(45.15% 0.193 276.1)
XYZxyz(13.0193, 8.2082, 49.0325)
Luminance0.0821 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403EBD #BBBD3E
analogous
#3E7CBD #403EBD #803EBD
triadic
#403EBD #BD403E #3EBD40
tetradic
#403EBD #BD3E7C #BBBD3E #3EBD80
square
#403EBD #BD3E7C #BBBD3E #3EBD80
split-complementary
#403EBD #BD803E #7CBD3E
monochromatic
#212061 #302F8F #403EBD #6C6ACE #9998DD

Accessibility & contrast

On white

7.95
#403EBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#403EBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403EBD
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403EBD#FFFFFF#000000##FFFFFF
##403EBD1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C1
Deuteranopia (green-blind)
#004BBB
Tritanopia (blue-blind)
#006078
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #403ebd;
/* rgb */ color: rgb(64, 62, 189);
/* oklch */ color: oklch(45.1% 0.193 276.1);
Tailwind
colors: {
  custom: {
    50: '#8474d2',
    500: '#403ebd',
    950: '#000000',
  },
}
SCSS
$custom: #403ebd;
$custom-light: #8474d2;
$custom-dark: #000000;
JSON
{
  "hex": "#403ebd",
  "rgb": {
    "r": 64,
    "g": 62,
    "b": 189
  },
  "hsl": {
    "h": 240.945,
    "s": 50.598,
    "l": 49.216
  },
  "oklch": {
    "l": 0.45145,
    "c": 0.19268,
    "h": 276.1
  },
  "luminance": 0.08209
}

Semantic roles & 50–950 ramp

primary
#403EBD
secondary
#C8C98E
accent
#DA4ED8
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #403EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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