#403A92#403A92

#403A92 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.7% C 0.140 H 281.2°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#403A92
RGBrgb(64, 58, 146)
HSLhsl(244, 43%, 40%)
HSVhsv(244, 60%, 57%)
CMYKcmyk(56.2%, 60.3%, 0%, 42.7%)
CIE-LABlab(29.89, 28.52, -47.94)
CIE-LCHlch(29.89, 55.78, 300.75°)
OKLaboklab(40.73% 0.0273 -0.1375)
OKLCHoklch(40.73% 0.14 281.2)
XYZxyz(8.8141, 6.1909, 27.9191)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403A92 #8C923A
analogous
#3A6092 #403A92 #6C3A92
triadic
#403A92 #92403A #3A9240
tetradic
#403A92 #923A60 #8C923A #3A926C
square
#403A92 #923A60 #8C923A #3A926C
split-complementary
#403A92 #926C3A #60923A
monochromatic
#1A173A #2D2966 #403A92 #5750B9 #817CCB

Accessibility & contrast

On white

9.38
#403A92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#403A92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403A92
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403A92#FFFFFF#000000##FFFFFF
##403A921.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A95
Deuteranopia (green-blind)
#004390
Tritanopia (blue-blind)
#194F60
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #403a92;
/* rgb */ color: rgb(64, 58, 146);
/* oklch */ color: oklch(40.7% 0.140 281.2);
Tailwind
colors: {
  custom: {
    50: '#7d70b3',
    500: '#403a92',
    950: '#000000',
  },
}
SCSS
$custom: #403a92;
$custom-light: #7d70b3;
$custom-dark: #000000;
JSON
{
  "hex": "#403a92",
  "rgb": {
    "r": 64,
    "g": 58,
    "b": 146
  },
  "hsl": {
    "h": 244.091,
    "s": 43.137,
    "l": 40
  },
  "oklch": {
    "l": 0.40728,
    "c": 0.14016,
    "h": 281.2
  },
  "luminance": 0.06191
}

Semantic roles & 50–950 ramp

primary
#403A92
secondary
#B0B474
accent
#D355CA
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #403A92

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

Preview Lab → · Contrast checker → · Palette generator →

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