#403F92#403F92

#403F92 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.7% C 0.133 H 279.5°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#403F92
RGBrgb(64, 63, 146)
HSLhsl(241, 40%, 41%)
HSVhsv(241, 57%, 57%)
CMYKcmyk(56.2%, 56.8%, 0%, 42.7%)
CIE-LABlab(31.16, 25.28, -45.88)
CIE-LCHlch(31.16, 52.39, 298.85°)
OKLaboklab(41.67% 0.0219 -0.1314)
OKLCHoklch(41.67% 0.133 279.5)
XYZxyz(9.0785, 6.7197, 28.0072)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403F92 #91923F
analogous
#3F6792 #403F92 #693F92
triadic
#403F92 #92403F #3F9240
tetradic
#403F92 #923F67 #91923F #3F9269
square
#403F92 #923F67 #91923F #3F9269
split-complementary
#403F92 #92693F #67923F
monochromatic
#1B1A3C #2D2D67 #403F92 #5957B7 #8382C9

Accessibility & contrast

On white

8.96
#403F92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#403F92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403F92
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403F92#FFFFFF#000000##FFFFFF
##403F921.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044D95
Deuteranopia (green-blind)
#004690
Tritanopia (blue-blind)
#185262
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #403f92;
/* rgb */ color: rgb(64, 63, 146);
/* oklch */ color: oklch(41.7% 0.133 279.5);
Tailwind
colors: {
  custom: {
    50: '#7c74b3',
    500: '#403f92',
    950: '#000000',
  },
}
SCSS
$custom: #403f92;
$custom-light: #7c74b3;
$custom-dark: #000000;
JSON
{
  "hex": "#403f92",
  "rgb": {
    "r": 64,
    "g": 63,
    "b": 146
  },
  "hsl": {
    "h": 240.723,
    "s": 39.713,
    "l": 40.98
  },
  "oklch": {
    "l": 0.4167,
    "c": 0.13319,
    "h": 279.5
  },
  "luminance": 0.0672
}

Semantic roles & 50–950 ramp

primary
#403F92
secondary
#B3B379
accent
#D058CE
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #403F92

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

Preview Lab → · Contrast checker → · Palette generator →

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