#403CBB#403CBB

#403CBB is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.6% C 0.192 H 276.6°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#403CBB
RGBrgb(64, 60, 187)
HSLhsl(242, 51%, 48%)
HSVhsv(242, 68%, 73%)
CMYKcmyk(65.8%, 67.9%, 0%, 26.7%)
CIE-LABlab(33.79, 40.98, -66.22)
CIE-LCHlch(33.79, 77.87, 301.75°)
OKLaboklab(44.64% 0.0222 -0.1911)
OKLCHoklch(44.64% 0.192 276.6)
XYZxyz(12.6969, 7.9085, 47.8615)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403CBB #B7BB3C
analogous
#3C77BB #403CBB #7F3CBB
triadic
#403CBB #BB403C #3CBB40
tetradic
#403CBB #BB3C77 #B7BB3C #3CBB7F
square
#403CBB #BB3C77 #B7BB3C #3CBB7F
split-complementary
#403CBB #BB7F3C #77BB3C
monochromatic
#201E5E #302D8D #403CBB #6966CE #9795DD

Accessibility & contrast

On white

8.13
#403CBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#403CBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403CBB
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403CBB#FFFFFF#000000##FFFFFF
##403CBB1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BF
Deuteranopia (green-blind)
#004AB9
Tritanopia (blue-blind)
#005E76
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #403cbb;
/* rgb */ color: rgb(64, 60, 187);
/* oklch */ color: oklch(44.6% 0.192 276.6);
Tailwind
colors: {
  custom: {
    50: '#8473d1',
    500: '#403cbb',
    950: '#000000',
  },
}
SCSS
$custom: #403cbb;
$custom-light: #8473d1;
$custom-dark: #000000;
JSON
{
  "hex": "#403cbb",
  "rgb": {
    "r": 64,
    "g": 60,
    "b": 187
  },
  "hsl": {
    "h": 241.89,
    "s": 51.417,
    "l": 48.431
  },
  "oklch": {
    "l": 0.44641,
    "c": 0.1924,
    "h": 276.6
  },
  "luminance": 0.0791
}

Semantic roles & 50–950 ramp

primary
#403CBB
secondary
#C6C88B
accent
#DB4DD6
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #403CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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