#403EB0#403EB0

#403EB0 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 44.0% C 0.176 H 277.1°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#403EB0
RGBrgb(64, 62, 176)
HSLhsl(241, 48%, 47%)
HSVhsv(241, 65%, 69%)
CMYKcmyk(63.6%, 64.8%, 0%, 31%)
CIE-LABlab(33.28, 36.09, -60.54)
CIE-LCHlch(33.28, 70.48, 300.80°)
OKLaboklab(43.98% 0.0218 -0.1745)
OKLCHoklch(43.98% 0.176 277.1)
XYZxyz(11.6709, 7.6689, 41.9311)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403EB0 #AEB03E
analogous
#3E75B0 #403EB0 #793EB0
triadic
#403EB0 #B0403E #3EB040
tetradic
#403EB0 #B03E75 #AEB03E #3EB079
square
#403EB0 #B03E75 #AEB03E #3EB079
split-complementary
#403EB0 #B0793E #75B03E
monochromatic
#1F1E55 #302E83 #403EB0 #6563C8 #9290D8

Accessibility & contrast

On white

8.29
#403EB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#403EB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403EB0
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403EB0#FFFFFF#000000##FFFFFF
##403EB01.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B4
Deuteranopia (green-blind)
#0049AE
Tritanopia (blue-blind)
#005B71
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #403eb0;
/* rgb */ color: rgb(64, 62, 176);
/* oklch */ color: oklch(44.0% 0.176 277.1);
Tailwind
colors: {
  custom: {
    50: '#8274c9',
    500: '#403eb0',
    950: '#000000',
  },
}
SCSS
$custom: #403eb0;
$custom-light: #8274c9;
$custom-dark: #000000;
JSON
{
  "hex": "#403eb0",
  "rgb": {
    "r": 64,
    "g": 62,
    "b": 176
  },
  "hsl": {
    "h": 241.053,
    "s": 47.899,
    "l": 46.667
  },
  "oklch": {
    "l": 0.43977,
    "c": 0.17582,
    "h": 277.1
  },
  "luminance": 0.0767
}

Semantic roles & 50–950 ramp

primary
#403EB0
secondary
#C2C387
accent
#D750D5
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #403EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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