#403BAE#403BAE

#403BAE is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.3% C 0.177 H 278.0°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#403BAE
RGBrgb(64, 59, 174)
HSLhsl(243, 49%, 46%)
HSVhsv(243, 66%, 68%)
CMYKcmyk(63.2%, 66.1%, 0%, 31.8%)
CIE-LABlab(32.42, 37.26, -60.76)
CIE-LCHlch(32.42, 71.27, 301.52°)
OKLaboklab(43.3% 0.0245 -0.1751)
OKLCHoklch(43.3% 0.177 278)
XYZxyz(11.3158, 7.2730, 40.8437)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403BAE #A9AE3B
analogous
#3B6FAE #403BAE #793BAE
triadic
#403BAE #AE403B #3BAE40
tetradic
#403BAE #AE3B6F #A9AE3B #3BAE79
square
#403BAE #AE3B6F #A9AE3B #3BAE79
split-complementary
#403BAE #AE793B #6FAE3B
monochromatic
#1E1C53 #2F2C80 #403BAE #625EC8 #8F8CD8

Accessibility & contrast

On white

8.55
#403BAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#403BAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403BAE
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403BAE#FFFFFF#000000##FFFFFF
##403BAE1.008.552.458.55
#FFFFFF8.551.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B2
Deuteranopia (green-blind)
#0047AC
Tritanopia (blue-blind)
#00596F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #403bae;
/* rgb */ color: rgb(64, 59, 174);
/* oklch */ color: oklch(43.3% 0.177 278.0);
Tailwind
colors: {
  custom: {
    50: '#8272c7',
    500: '#403bae',
    950: '#000000',
  },
}
SCSS
$custom: #403bae;
$custom-light: #8272c7;
$custom-dark: #000000;
JSON
{
  "hex": "#403bae",
  "rgb": {
    "r": 64,
    "g": 59,
    "b": 174
  },
  "hsl": {
    "h": 242.609,
    "s": 49.356,
    "l": 45.686
  },
  "oklch": {
    "l": 0.43296,
    "c": 0.17681,
    "h": 278
  },
  "luminance": 0.07274
}

Semantic roles & 50–950 ramp

primary
#403BAE
secondary
#C0C282
accent
#D94FD3
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #403BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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