#403DC3#403DC3

#403DC3 is a mid, highly saturated blue. Relative luminance 0.084; OKLCH L 45.5% C 0.201 H 275.8°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#403DC3
RGBrgb(64, 61, 195)
HSLhsl(241, 53%, 50%)
HSVhsv(241, 69%, 76%)
CMYKcmyk(67.2%, 68.7%, 0%, 23.5%)
CIE-LABlab(34.73, 43.03, -69.37)
CIE-LCHlch(34.73, 81.63, 301.81°)
OKLaboklab(45.54% 0.0204 -0.2003)
OKLCHoklch(45.54% 0.201 275.8)
XYZxyz(13.6302, 8.3664, 52.5158)
Luminance0.0837 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403DC3 #C0C33D
analogous
#3D7DC3 #403DC3 #833DC3
triadic
#403DC3 #C3403D #3DC340
tetradic
#403DC3 #C33D7D #C0C33D #3DC383
square
#403DC3 #C33D7D #C0C33D #3DC383
split-complementary
#403DC3 #C3833D #7DC33D
monochromatic
#212066 #302E95 #403DC3 #6E6CD1 #9C9AE0

Accessibility & contrast

On white

7.85
#403DC3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#403DC3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403DC3
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403DC3#FFFFFF#000000##FFFFFF
##403DC31.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C7
Deuteranopia (green-blind)
#004CC0
Tritanopia (blue-blind)
#00617B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #403dc3;
/* rgb */ color: rgb(64, 61, 195);
/* oklch */ color: oklch(45.5% 0.201 275.8);
Tailwind
colors: {
  custom: {
    50: '#8673d6',
    500: '#403dc3',
    950: '#000000',
  },
}
SCSS
$custom: #403dc3;
$custom-light: #8673d6;
$custom-dark: #000000;
JSON
{
  "hex": "#403dc3",
  "rgb": {
    "r": 64,
    "g": 61,
    "b": 195
  },
  "hsl": {
    "h": 241.343,
    "s": 52.756,
    "l": 50.196
  },
  "oklch": {
    "l": 0.45543,
    "c": 0.20138,
    "h": 275.8
  },
  "luminance": 0.08368
}

Semantic roles & 50–950 ramp

primary
#403DC3
secondary
#CBCC90
accent
#DC4CD9
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0D0814
muted
#7D7B83

Preview Lab

Preview with #403DC3

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

Preview Lab → · Contrast checker → · Palette generator →

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