#403C92#403C92

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

Color values

HEX#403C92
RGBrgb(64, 60, 146)
HSLhsl(243, 42%, 40%)
HSVhsv(243, 59%, 57%)
CMYKcmyk(56.2%, 58.9%, 0%, 42.7%)
CIE-LABlab(30.39, 27.23, -47.13)
CIE-LCHlch(30.39, 54.43, 300.02°)
OKLaboklab(41.1% 0.0252 -0.1351)
OKLCHoklch(41.1% 0.137 280.6)
XYZxyz(8.9169, 6.3965, 27.9533)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403C92 #8E923C
analogous
#3C6392 #403C92 #6B3C92
triadic
#403C92 #92403C #3C9240
tetradic
#403C92 #923C63 #8E923C #3C926B
square
#403C92 #923C63 #8E923C #3C926B
split-complementary
#403C92 #926B3C #63923C
monochromatic
#1A183B #2D2A67 #403C92 #5853B8 #827ECA

Accessibility & contrast

On white

9.21
#403C92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#403C92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403C92
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403C92#FFFFFF#000000##FFFFFF
##403C921.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #403c92;
/* rgb */ color: rgb(64, 60, 146);
/* oklch */ color: oklch(41.1% 0.137 280.6);
Tailwind
colors: {
  custom: {
    50: '#7c72b3',
    500: '#403c92',
    950: '#000000',
  },
}
SCSS
$custom: #403c92;
$custom-light: #7c72b3;
$custom-dark: #000000;
JSON
{
  "hex": "#403c92",
  "rgb": {
    "r": 64,
    "g": 60,
    "b": 146
  },
  "hsl": {
    "h": 242.791,
    "s": 41.748,
    "l": 40.392
  },
  "oklch": {
    "l": 0.411,
    "c": 0.1374,
    "h": 280.6
  },
  "luminance": 0.06397
}

Semantic roles & 50–950 ramp

primary
#403C92
secondary
#B1B476
accent
#D256CC
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #403C92

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

Preview Lab → · Contrast checker → · Palette generator →

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