#403BB3#403BB3

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

Color values

HEX#403BB3
RGBrgb(64, 59, 179)
HSLhsl(243, 50%, 47%)
HSVhsv(243, 67%, 70%)
CMYKcmyk(64.2%, 67%, 0%, 29.8%)
CIE-LABlab(32.86, 38.93, -63.02)
CIE-LCHlch(32.86, 74.07, 301.70°)
OKLaboklab(43.75% 0.0239 -0.1817)
OKLCHoklch(43.75% 0.183 277.5)
XYZxyz(11.8124, 7.4716, 43.4588)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403BB3 #AEB33B
analogous
#3B72B3 #403BB3 #7C3BB3
triadic
#403BB3 #B3403B #3BB340
tetradic
#403BB3 #B33B72 #AEB33B #3BB37C
square
#403BB3 #B33B72 #AEB33B #3BB37C
split-complementary
#403BB3 #B37C3B #72B33B
monochromatic
#1F1D57 #302C85 #403BB3 #6560CB #928EDA

Accessibility & contrast

On white

8.42
#403BB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#403BB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403BB3
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403BB3#FFFFFF#000000##FFFFFF
##403BB31.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B7
Deuteranopia (green-blind)
#0048B1
Tritanopia (blue-blind)
#005A72
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #403bb3;
/* rgb */ color: rgb(64, 59, 179);
/* oklch */ color: oklch(43.7% 0.183 277.5);
Tailwind
colors: {
  custom: {
    50: '#8372cb',
    500: '#403bb3',
    950: '#000000',
  },
}
SCSS
$custom: #403bb3;
$custom-light: #8372cb;
$custom-dark: #000000;
JSON
{
  "hex": "#403bb3",
  "rgb": {
    "r": 64,
    "g": 59,
    "b": 179
  },
  "hsl": {
    "h": 242.5,
    "s": 50.42,
    "l": 46.667
  },
  "oklch": {
    "l": 0.43747,
    "c": 0.18331,
    "h": 277.5
  },
  "luminance": 0.07473
}

Semantic roles & 50–950 ramp

primary
#403BB3
secondary
#C2C585
accent
#DA4ED4
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #403BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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