#403C80#403C80

#403C80 is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.7% C 0.111 H 282.7°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#403C80
RGBrgb(64, 60, 128)
HSLhsl(244, 36%, 37%)
HSVhsv(244, 53%, 50%)
CMYKcmyk(50%, 53.1%, 0%, 49.8%)
CIE-LABlab(29.11, 21.22, -38.06)
CIE-LCHlch(29.11, 43.57, 299.14°)
OKLaboklab(39.73% 0.0245 -0.1084)
OKLCHoklch(39.73% 0.111 282.7)
XYZxyz(7.6253, 5.8798, 21.1510)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403C80 #7C803C
analogous
#3C5A80 #403C80 #623C80
triadic
#403C80 #80403C #3C8040
tetradic
#403C80 #803C5A #7C803C #3C8062
square
#403C80 #803C5A #7C803C #3C8062
split-complementary
#403C80 #80623C #5A803C
monochromatic
#16152D #2B2856 #403C80 #5550AA #7B77BF

Accessibility & contrast

On white

9.65
#403C80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#403C80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403C80
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403C80#FFFFFF#000000##FFFFFF
##403C801.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4782
Deuteranopia (green-blind)
#17427F
Tritanopia (blue-blind)
#294B58
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #403c80;
/* rgb */ color: rgb(64, 60, 128);
/* oklch */ color: oklch(39.7% 0.111 282.7);
Tailwind
colors: {
  custom: {
    50: '#7a71a5',
    500: '#403c80',
    950: '#000000',
  },
}
SCSS
$custom: #403c80;
$custom-light: #7a71a5;
$custom-dark: #000000;
JSON
{
  "hex": "#403c80",
  "rgb": {
    "r": 64,
    "g": 60,
    "b": 128
  },
  "hsl": {
    "h": 243.529,
    "s": 36.17,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39734,
    "c": 0.11113,
    "h": 282.7
  },
  "luminance": 0.0588
}

Semantic roles & 50–950 ramp

primary
#403C80
secondary
#A6A96F
accent
#CC5CC6
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#09070F
muted
#7B7A7F

Preview Lab

Preview with #403C80

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

Preview Lab → · Contrast checker → · Palette generator →

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