#403DA9#403DA9

#403DA9 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.2% C 0.168 H 278.0°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#403DA9
RGBrgb(64, 61, 169)
HSLhsl(242, 47%, 45%)
HSVhsv(242, 64%, 66%)
CMYKcmyk(62.1%, 63.9%, 0%, 33.7%)
CIE-LABlab(32.46, 34.35, -57.70)
CIE-LCHlch(32.46, 67.15, 300.77°)
OKLaboklab(43.19% 0.0232 -0.1661)
OKLCHoklch(43.19% 0.168 278)
XYZxyz(10.9422, 7.2912, 38.3591)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403DA9 #A6A93D
analogous
#3D70A9 #403DA9 #763DA9
triadic
#403DA9 #A9403D #3DA940
tetradic
#403DA9 #A93D70 #A6A93D #3DA976
square
#403DA9 #A93D70 #A6A93D #3DA976
split-complementary
#403DA9 #A9763D #70A93D
monochromatic
#1E1D4F #2F2D7C #403DA9 #615EC5 #8D8BD5

Accessibility & contrast

On white

8.54
#403DA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#403DA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403DA9
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403DA9#FFFFFF#000000##FFFFFF
##403DA91.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AC
Deuteranopia (green-blind)
#0048A7
Tritanopia (blue-blind)
#00586D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #403da9;
/* rgb */ color: rgb(64, 61, 169);
/* oklch */ color: oklch(43.2% 0.168 278.0);
Tailwind
colors: {
  custom: {
    50: '#8073c3',
    500: '#403da9',
    950: '#000000',
  },
}
SCSS
$custom: #403da9;
$custom-light: #8073c3;
$custom-dark: #000000;
JSON
{
  "hex": "#403da9",
  "rgb": {
    "r": 64,
    "g": 61,
    "b": 169
  },
  "hsl": {
    "h": 241.667,
    "s": 46.957,
    "l": 45.098
  },
  "oklch": {
    "l": 0.43194,
    "c": 0.16776,
    "h": 278
  },
  "luminance": 0.07292
}

Semantic roles & 50–950 ramp

primary
#403DA9
secondary
#BEC082
accent
#D751D3
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #403DA9

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

Preview Lab → · Contrast checker → · Palette generator →

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