#403CBF#403CBF

#403CBF is a mid, vivid blue. Relative luminance 0.081; OKLCH L 45.0% C 0.197 H 276.3°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#403CBF
RGBrgb(64, 60, 191)
HSLhsl(242, 52%, 49%)
HSVhsv(242, 69%, 75%)
CMYKcmyk(66.5%, 68.6%, 0%, 25.1%)
CIE-LABlab(34.15, 42.30, -67.98)
CIE-LCHlch(34.15, 80.07, 301.89°)
OKLaboklab(45.01% 0.0216 -0.1963)
OKLCHoklch(45.01% 0.197 276.3)
XYZxyz(13.1311, 8.0821, 50.1481)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403CBF #BBBF3C
analogous
#3C7ABF #403CBF #823CBF
triadic
#403CBF #BF403C #3CBF40
tetradic
#403CBF #BF3C7A #BBBF3C #3CBF82
square
#403CBF #BF3C7A #BBBF3C #3CBF82
split-complementary
#403CBF #BF823C #7ABF3C
monochromatic
#211F62 #302D90 #403CBF #6C68D0 #9997DE

Accessibility & contrast

On white

8.03
#403CBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#403CBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403CBF
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403CBF#FFFFFF#000000##FFFFFF
##403CBF1.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C3
Deuteranopia (green-blind)
#004BBD
Tritanopia (blue-blind)
#005F79
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #403cbf;
/* rgb */ color: rgb(64, 60, 191);
/* oklch */ color: oklch(45.0% 0.197 276.3);
Tailwind
colors: {
  custom: {
    50: '#8573d3',
    500: '#403cbf',
    950: '#000000',
  },
}
SCSS
$custom: #403cbf;
$custom-light: #8573d3;
$custom-dark: #000000;
JSON
{
  "hex": "#403cbf",
  "rgb": {
    "r": 64,
    "g": 60,
    "b": 191
  },
  "hsl": {
    "h": 241.832,
    "s": 52.191,
    "l": 49.216
  },
  "oklch": {
    "l": 0.45013,
    "c": 0.19746,
    "h": 276.3
  },
  "luminance": 0.08083
}

Semantic roles & 50–950 ramp

primary
#403CBF
secondary
#C8CA8D
accent
#DC4CD7
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #403CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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