#403CAD#403CAD

#403CAD is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.4% C 0.174 H 277.8°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#403CAD
RGBrgb(64, 60, 173)
HSLhsl(242, 48%, 46%)
HSVhsv(242, 65%, 68%)
CMYKcmyk(63%, 65.3%, 0%, 32.2%)
CIE-LABlab(32.56, 36.32, -59.92)
CIE-LCHlch(32.56, 70.07, 301.22°)
OKLaboklab(43.37% 0.0238 -0.1727)
OKLCHoklch(43.37% 0.174 277.8)
XYZxyz(11.2706, 7.3379, 40.3495)
Luminance0.0734 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403CAD #A9AD3C
analogous
#3C70AD #403CAD #783CAD
triadic
#403CAD #AD403C #3CAD40
tetradic
#403CAD #AD3C70 #A9AD3C #3CAD78
square
#403CAD #AD3C70 #A9AD3C #3CAD78
split-complementary
#403CAD #AD783C #70AD3C
monochromatic
#1E1C52 #2F2C80 #403CAD #625FC7 #8F8CD7

Accessibility & contrast

On white

8.51
#403CAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#403CAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403CAD
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403CAD#FFFFFF#000000##FFFFFF
##403CAD1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B1
Deuteranopia (green-blind)
#0048AB
Tritanopia (blue-blind)
#00596F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #403cad;
/* rgb */ color: rgb(64, 60, 173);
/* oklch */ color: oklch(43.4% 0.174 277.8);
Tailwind
colors: {
  custom: {
    50: '#8172c6',
    500: '#403cad',
    950: '#000000',
  },
}
SCSS
$custom: #403cad;
$custom-light: #8172c6;
$custom-dark: #000000;
JSON
{
  "hex": "#403cad",
  "rgb": {
    "r": 64,
    "g": 60,
    "b": 173
  },
  "hsl": {
    "h": 242.124,
    "s": 48.498,
    "l": 45.686
  },
  "oklch": {
    "l": 0.43374,
    "c": 0.1743,
    "h": 277.8
  },
  "luminance": 0.07339
}

Semantic roles & 50–950 ramp

primary
#403CAD
secondary
#C0C283
accent
#D850D3
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #403CAD

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

Preview Lab → · Contrast checker → · Palette generator →

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