#403F93#403F93

#403F93 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.7% C 0.135 H 279.4°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#403F93
RGBrgb(64, 63, 147)
HSLhsl(241, 40%, 41%)
HSVhsv(241, 57%, 58%)
CMYKcmyk(56.5%, 57.1%, 0%, 42.4%)
CIE-LABlab(31.23, 25.62, -46.38)
CIE-LCHlch(31.23, 52.98, 298.92°)
OKLaboklab(41.75% 0.0219 -0.1328)
OKLCHoklch(41.75% 0.135 279.4)
XYZxyz(9.1567, 6.7510, 28.4187)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403F93 #92933F
analogous
#3F6893 #403F93 #6A3F93
triadic
#403F93 #93403F #3F9340
tetradic
#403F93 #933F68 #92933F #3F936A
square
#403F93 #933F68 #92933F #3F936A
split-complementary
#403F93 #936A3F #68933F
monochromatic
#1B1A3D #2D2D68 #403F93 #5958B7 #8483CA

Accessibility & contrast

On white

8.93
#403F93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#403F93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403F93
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403F93#FFFFFF#000000##FFFFFF
##403F931.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014D96
Deuteranopia (green-blind)
#004691
Tritanopia (blue-blind)
#175262
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #403f93;
/* rgb */ color: rgb(64, 63, 147);
/* oklch */ color: oklch(41.7% 0.135 279.4);
Tailwind
colors: {
  custom: {
    50: '#7c74b3',
    500: '#403f93',
    950: '#000000',
  },
}
SCSS
$custom: #403f93;
$custom-light: #7c74b3;
$custom-dark: #000000;
JSON
{
  "hex": "#403f93",
  "rgb": {
    "r": 64,
    "g": 63,
    "b": 147
  },
  "hsl": {
    "h": 240.714,
    "s": 40,
    "l": 41.176
  },
  "oklch": {
    "l": 0.41748,
    "c": 0.13463,
    "h": 279.4
  },
  "luminance": 0.06752
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #403F93

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

Preview Lab → · Contrast checker → · Palette generator →

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