#403C90#403C90

#403C90 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.9% C 0.135 H 280.8°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#403C90
RGBrgb(64, 60, 144)
HSLhsl(243, 41%, 40%)
HSVhsv(243, 58%, 56%)
CMYKcmyk(55.6%, 58.3%, 0%, 43.5%)
CIE-LABlab(30.24, 26.56, -46.14)
CIE-LCHlch(30.24, 53.24, 299.92°)
OKLaboklab(40.94% 0.0252 -0.1322)
OKLCHoklch(40.94% 0.135 280.8)
XYZxyz(8.7627, 6.3348, 27.1411)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403C90 #8C903C
analogous
#3C6290 #403C90 #6A3C90
triadic
#403C90 #90403C #3C9040
tetradic
#403C90 #903C62 #8C903C #3C906A
square
#403C90 #903C62 #8C903C #3C906A
split-complementary
#403C90 #906A3C #62903C
monochromatic
#1A183A #2D2A65 #403C90 #5752B7 #817DC9

Accessibility & contrast

On white

9.26
#403C90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #403C90
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403C90#FFFFFF#000000##FFFFFF
##403C901.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A93
Deuteranopia (green-blind)
#00448E
Tritanopia (blue-blind)
#1B5060
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #403c90;
/* rgb */ color: rgb(64, 60, 144);
/* oklch */ color: oklch(40.9% 0.135 280.8);
Tailwind
colors: {
  custom: {
    50: '#7c72b1',
    500: '#403c90',
    950: '#000000',
  },
}
SCSS
$custom: #403c90;
$custom-light: #7c72b1;
$custom-dark: #000000;
JSON
{
  "hex": "#403c90",
  "rgb": {
    "r": 64,
    "g": 60,
    "b": 144
  },
  "hsl": {
    "h": 242.857,
    "s": 41.176,
    "l": 40
  },
  "oklch": {
    "l": 0.40941,
    "c": 0.13455,
    "h": 280.8
  },
  "luminance": 0.06335
}

Semantic roles & 50–950 ramp

primary
#403C90
secondary
#B0B375
accent
#D157CB
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #403C90

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

Preview Lab → · Contrast checker → · Palette generator →

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