#403CAE#403CAE

#403CAE is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.5% C 0.176 H 277.7°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#403CAE
RGBrgb(64, 60, 174)
HSLhsl(242, 49%, 46%)
HSVhsv(242, 66%, 68%)
CMYKcmyk(63.2%, 65.5%, 0%, 31.8%)
CIE-LABlab(32.65, 36.65, -60.38)
CIE-LCHlch(32.65, 70.63, 301.26°)
OKLaboklab(43.46% 0.0237 -0.174)
OKLCHoklch(43.46% 0.176 277.7)
XYZxyz(11.3677, 7.3768, 40.8610)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403CAE #AAAE3C
analogous
#3C71AE #403CAE #793CAE
triadic
#403CAE #AE403C #3CAE40
tetradic
#403CAE #AE3C71 #AAAE3C #3CAE79
square
#403CAE #AE3C71 #AAAE3C #3CAE79
split-complementary
#403CAE #AE793C #71AE3C
monochromatic
#1F1D53 #2F2C80 #403CAE #635FC8 #8F8DD8

Accessibility & contrast

On white

8.48
#403CAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#403CAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403CAE
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403CAE#FFFFFF#000000##FFFFFF
##403CAE1.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B2
Deuteranopia (green-blind)
#0048AC
Tritanopia (blue-blind)
#00596F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #403cae;
/* rgb */ color: rgb(64, 60, 174);
/* oklch */ color: oklch(43.5% 0.176 277.7);
Tailwind
colors: {
  custom: {
    50: '#8272c7',
    500: '#403cae',
    950: '#000000',
  },
}
SCSS
$custom: #403cae;
$custom-light: #8272c7;
$custom-dark: #000000;
JSON
{
  "hex": "#403cae",
  "rgb": {
    "r": 64,
    "g": 60,
    "b": 174
  },
  "hsl": {
    "h": 242.105,
    "s": 48.718,
    "l": 45.882
  },
  "oklch": {
    "l": 0.43463,
    "c": 0.17561,
    "h": 277.7
  },
  "luminance": 0.07378
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #403CAE

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

Preview Lab → · Contrast checker → · Palette generator →

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