#403EAC#403EAC

#403EAC is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.6% C 0.171 H 277.5°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#403EAC
RGBrgb(64, 62, 172)
HSLhsl(241, 47%, 46%)
HSVhsv(241, 64%, 67%)
CMYKcmyk(62.8%, 64%, 0%, 32.5%)
CIE-LABlab(32.95, 34.74, -58.70)
CIE-LCHlch(32.95, 68.21, 300.62°)
OKLaboklab(43.63% 0.0221 -0.1691)
OKLCHoklch(43.63% 0.171 277.5)
XYZxyz(11.2810, 7.5129, 39.8774)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403EAC #AAAC3E
analogous
#3E73AC #403EAC #773EAC
triadic
#403EAC #AC403E #3EAC40
tetradic
#403EAC #AC3E73 #AAAC3E #3EAC77
square
#403EAC #AC3E73 #AAAC3E #3EAC77
split-complementary
#403EAC #AC773E #73AC3E
monochromatic
#1F1E52 #2F2E7F #403EAC #6361C6 #8F8ED6

Accessibility & contrast

On white

8.39
#403EAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#403EAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403EAC
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403EAC#FFFFFF#000000##FFFFFF
##403EAC1.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B0
Deuteranopia (green-blind)
#0049AA
Tritanopia (blue-blind)
#005A6F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #403eac;
/* rgb */ color: rgb(64, 62, 172);
/* oklch */ color: oklch(43.6% 0.171 277.5);
Tailwind
colors: {
  custom: {
    50: '#8174c6',
    500: '#403eac',
    950: '#000000',
  },
}
SCSS
$custom: #403eac;
$custom-light: #8174c6;
$custom-dark: #000000;
JSON
{
  "hex": "#403eac",
  "rgb": {
    "r": 64,
    "g": 62,
    "b": 172
  },
  "hsl": {
    "h": 241.091,
    "s": 47.009,
    "l": 45.882
  },
  "oklch": {
    "l": 0.43627,
    "c": 0.17051,
    "h": 277.5
  },
  "luminance": 0.07514
}

Semantic roles & 50–950 ramp

primary
#403EAC
secondary
#C0C185
accent
#D751D4
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #403EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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