#403DBE#403DBE

#403DBE is a mid, vivid blue. Relative luminance 0.081; OKLCH L 45.1% C 0.195 H 276.2°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#403DBE
RGBrgb(64, 61, 190)
HSLhsl(241, 51%, 49%)
HSVhsv(241, 68%, 75%)
CMYKcmyk(66.3%, 67.9%, 0%, 25.5%)
CIE-LABlab(34.28, 41.38, -67.18)
CIE-LCHlch(34.28, 78.90, 301.63°)
OKLaboklab(45.08% 0.0211 -0.1939)
OKLCHoklch(45.08% 0.195 276.2)
XYZxyz(13.0743, 8.1440, 49.5882)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403DBE #BBBE3D
analogous
#3D7BBE #403DBE #813DBE
triadic
#403DBE #BE403D #3DBE40
tetradic
#403DBE #BE3D7B #BBBE3D #3DBE81
square
#403DBE #BE3D7B #BBBE3D #3DBE81
split-complementary
#403DBE #BE813D #7BBE3D
monochromatic
#211F61 #302E90 #403DBE #6C69CF #9998DE

Accessibility & contrast

On white

7.99
#403DBE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#403DBE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403DBE
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403DBE#FFFFFF#000000##FFFFFF
##403DBE1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C2
Deuteranopia (green-blind)
#004BBC
Tritanopia (blue-blind)
#005F78
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #403dbe;
/* rgb */ color: rgb(64, 61, 190);
/* oklch */ color: oklch(45.1% 0.195 276.2);
Tailwind
colors: {
  custom: {
    50: '#8573d3',
    500: '#403dbe',
    950: '#000000',
  },
}
SCSS
$custom: #403dbe;
$custom-light: #8573d3;
$custom-dark: #000000;
JSON
{
  "hex": "#403dbe",
  "rgb": {
    "r": 64,
    "g": 61,
    "b": 190
  },
  "hsl": {
    "h": 241.395,
    "s": 51.394,
    "l": 49.216
  },
  "oklch": {
    "l": 0.45077,
    "c": 0.19508,
    "h": 276.2
  },
  "luminance": 0.08145
}

Semantic roles & 50–950 ramp

primary
#403DBE
secondary
#C8C98D
accent
#DB4DD8
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #403DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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