#403CB3#403CB3

#403CB3 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.9% C 0.182 H 277.3°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#403CB3
RGBrgb(64, 60, 179)
HSLhsl(242, 50%, 47%)
HSVhsv(242, 66%, 70%)
CMYKcmyk(64.2%, 66.5%, 0%, 29.8%)
CIE-LABlab(33.08, 38.32, -62.65)
CIE-LCHlch(33.08, 73.44, 301.45°)
OKLaboklab(43.91% 0.0231 -0.1807)
OKLCHoklch(43.91% 0.182 277.3)
XYZxyz(11.8643, 7.5754, 43.4761)
Luminance0.0758 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403CB3 #AFB33C
analogous
#3C74B3 #403CB3 #7C3CB3
triadic
#403CB3 #B3403C #3CB340
tetradic
#403CB3 #B33C74 #AFB33C #3CB37C
square
#403CB3 #B33C74 #AFB33C #3CB37C
split-complementary
#403CB3 #B37C3C #74B33C
monochromatic
#1F1D57 #302D85 #403CB3 #6562CA #9290DA

Accessibility & contrast

On white

8.35
#403CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#403CB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403CB3
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403CB3#FFFFFF#000000##FFFFFF
##403CB31.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B7
Deuteranopia (green-blind)
#0049B1
Tritanopia (blue-blind)
#005B72
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #403cb3;
/* rgb */ color: rgb(64, 60, 179);
/* oklch */ color: oklch(43.9% 0.182 277.3);
Tailwind
colors: {
  custom: {
    50: '#8372cb',
    500: '#403cb3',
    950: '#000000',
  },
}
SCSS
$custom: #403cb3;
$custom-light: #8372cb;
$custom-dark: #000000;
JSON
{
  "hex": "#403cb3",
  "rgb": {
    "r": 64,
    "g": 60,
    "b": 179
  },
  "hsl": {
    "h": 242.017,
    "s": 49.791,
    "l": 46.863
  },
  "oklch": {
    "l": 0.4391,
    "c": 0.18213,
    "h": 277.3
  },
  "luminance": 0.07576
}

Semantic roles & 50–950 ramp

primary
#403CB3
secondary
#C3C586
accent
#D94ED5
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #403CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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