#403D92#403D92

#403D92 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.3% C 0.136 H 280.2°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#403D92
RGBrgb(64, 61, 146)
HSLhsl(242, 41%, 41%)
HSVhsv(242, 58%, 57%)
CMYKcmyk(56.2%, 58.2%, 0%, 42.7%)
CIE-LABlab(30.65, 26.58, -46.72)
CIE-LCHlch(30.65, 53.75, 299.64°)
OKLaboklab(41.29% 0.0241 -0.1338)
OKLCHoklch(41.29% 0.136 280.2)
XYZxyz(8.9698, 6.5022, 27.9710)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403D92 #8F923D
analogous
#3D6492 #403D92 #6A3D92
triadic
#403D92 #92403D #3D9240
tetradic
#403D92 #923D64 #8F923D #3D926A
square
#403D92 #923D64 #8F923D #3D926A
split-complementary
#403D92 #926A3D #64923D
monochromatic
#1A193C #2D2B67 #403D92 #5854B8 #8280CA

Accessibility & contrast

On white

9.13
#403D92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#403D92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403D92
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403D92#FFFFFF#000000##FFFFFF
##403D921.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B95
Deuteranopia (green-blind)
#004590
Tritanopia (blue-blind)
#185161
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #403d92;
/* rgb */ color: rgb(64, 61, 146);
/* oklch */ color: oklch(41.3% 0.136 280.2);
Tailwind
colors: {
  custom: {
    50: '#7c72b3',
    500: '#403d92',
    950: '#000000',
  },
}
SCSS
$custom: #403d92;
$custom-light: #7c72b3;
$custom-dark: #000000;
JSON
{
  "hex": "#403d92",
  "rgb": {
    "r": 64,
    "g": 61,
    "b": 146
  },
  "hsl": {
    "h": 242.118,
    "s": 41.063,
    "l": 40.588
  },
  "oklch": {
    "l": 0.41288,
    "c": 0.136,
    "h": 280.2
  },
  "luminance": 0.06503
}

Semantic roles & 50–950 ramp

primary
#403D92
secondary
#B2B477
accent
#D157CD
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #403D92

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

Preview Lab → · Contrast checker → · Palette generator →

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