#403FB0#403FB0

#403FB0 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.1% C 0.175 H 276.9°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#403FB0
RGBrgb(64, 63, 176)
HSLhsl(241, 47%, 47%)
HSVhsv(241, 64%, 69%)
CMYKcmyk(63.6%, 64.2%, 0%, 31%)
CIE-LABlab(33.52, 35.47, -60.15)
CIE-LCHlch(33.52, 69.83, 300.53°)
OKLaboklab(44.15% 0.021 -0.1733)
OKLCHoklch(44.15% 0.175 276.9)
XYZxyz(11.7258, 7.7786, 41.9494)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403FB0 #AFB03F
analogous
#3F77B0 #403FB0 #793FB0
triadic
#403FB0 #B0403F #3FB040
tetradic
#403FB0 #B03F77 #AFB03F #3FB079
square
#403FB0 #B03F77 #AFB03F #3FB079
split-complementary
#403FB0 #B0793F #77B03F
monochromatic
#1F1F56 #302F83 #403FB0 #6565C8 #9292D8

Accessibility & contrast

On white

8.22
#403FB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#403FB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403FB0
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403FB0#FFFFFF#000000##FFFFFF
##403FB01.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B4
Deuteranopia (green-blind)
#004AAE
Tritanopia (blue-blind)
#005C71
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #403fb0;
/* rgb */ color: rgb(64, 63, 176);
/* oklch */ color: oklch(44.1% 0.175 276.9);
Tailwind
colors: {
  custom: {
    50: '#8274c9',
    500: '#403fb0',
    950: '#000000',
  },
}
SCSS
$custom: #403fb0;
$custom-light: #8274c9;
$custom-dark: #000000;
JSON
{
  "hex": "#403fb0",
  "rgb": {
    "r": 64,
    "g": 63,
    "b": 176
  },
  "hsl": {
    "h": 240.531,
    "s": 47.28,
    "l": 46.863
  },
  "oklch": {
    "l": 0.44148,
    "c": 0.17459,
    "h": 276.9
  },
  "luminance": 0.0778
}

Semantic roles & 50–950 ramp

primary
#403FB0
secondary
#C3C388
accent
#D751D6
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #403FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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