#403BB1#403BB1

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

Color values

HEX#403BB1
RGBrgb(64, 59, 177)
HSLhsl(243, 50%, 46%)
HSVhsv(243, 67%, 69%)
CMYKcmyk(63.8%, 66.7%, 0%, 30.6%)
CIE-LABlab(32.68, 38.26, -62.12)
CIE-LCHlch(32.68, 72.96, 301.63°)
OKLaboklab(43.57% 0.0241 -0.1791)
OKLCHoklch(43.57% 0.181 277.7)
XYZxyz(11.6116, 7.3913, 42.4012)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403BB1 #ACB13B
analogous
#3B71B1 #403BB1 #7B3BB1
triadic
#403BB1 #B1403B #3BB140
tetradic
#403BB1 #B13B71 #ACB13B #3BB17B
square
#403BB1 #B13B71 #ACB13B #3BB17B
split-complementary
#403BB1 #B17B3B #71B13B
monochromatic
#1F1C55 #2F2C83 #403BB1 #645FCA #918DD9

Accessibility & contrast

On white

8.47
#403BB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #403BB1
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403BB1#FFFFFF#000000##FFFFFF
##403BB11.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B5
Deuteranopia (green-blind)
#0048AF
Tritanopia (blue-blind)
#005A71
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #403bb1;
/* rgb */ color: rgb(64, 59, 177);
/* oklch */ color: oklch(43.6% 0.181 277.7);
Tailwind
colors: {
  custom: {
    50: '#8272c9',
    500: '#403bb1',
    950: '#000000',
  },
}
SCSS
$custom: #403bb1;
$custom-light: #8272c9;
$custom-dark: #000000;
JSON
{
  "hex": "#403bb1",
  "rgb": {
    "r": 64,
    "g": 59,
    "b": 177
  },
  "hsl": {
    "h": 242.542,
    "s": 50,
    "l": 46.275
  },
  "oklch": {
    "l": 0.43566,
    "c": 0.18072,
    "h": 277.7
  },
  "luminance": 0.07392
}

Semantic roles & 50–950 ramp

primary
#403BB1
secondary
#C1C484
accent
#DA4ED4
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #403BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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