#403B94#403B94

#403B94 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.1% C 0.142 H 280.7°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#403B94
RGBrgb(64, 59, 148)
HSLhsl(243, 43%, 41%)
HSVhsv(243, 60%, 58%)
CMYKcmyk(56.8%, 60.1%, 0%, 42%)
CIE-LABlab(30.29, 28.55, -48.51)
CIE-LCHlch(30.29, 56.29, 300.47°)
OKLaboklab(41.07% 0.0262 -0.1391)
OKLCHoklch(41.07% 0.142 280.7)
XYZxyz(9.0219, 6.3555, 28.7626)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403B94 #8F943B
analogous
#3B6294 #403B94 #6C3B94
triadic
#403B94 #94403B #3B9440
tetradic
#403B94 #943B62 #8F943B #3B946C
square
#403B94 #943B62 #8F943B #3B946C
split-complementary
#403B94 #946C3B #62943B
monochromatic
#1A183C #2D2A68 #403B94 #5852BA #827ECC

Accessibility & contrast

On white

9.25
#403B94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#403B94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403B94
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403B94#FFFFFF#000000##FFFFFF
##403B941.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B97
Deuteranopia (green-blind)
#004492
Tritanopia (blue-blind)
#165061
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #403b94;
/* rgb */ color: rgb(64, 59, 148);
/* oklch */ color: oklch(41.1% 0.142 280.7);
Tailwind
colors: {
  custom: {
    50: '#7d71b4',
    500: '#403b94',
    950: '#000000',
  },
}
SCSS
$custom: #403b94;
$custom-light: #7d71b4;
$custom-dark: #000000;
JSON
{
  "hex": "#403b94",
  "rgb": {
    "r": 64,
    "g": 59,
    "b": 148
  },
  "hsl": {
    "h": 243.371,
    "s": 42.995,
    "l": 40.588
  },
  "oklch": {
    "l": 0.41074,
    "c": 0.1416,
    "h": 280.7
  },
  "luminance": 0.06356
}

Semantic roles & 50–950 ramp

primary
#403B94
secondary
#B2B576
accent
#D355CC
background
#F8F6FB
surface
#EFECF6
border
#CAC7D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #403B94

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

Preview Lab → · Contrast checker → · Palette generator →

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