#403CC0#403CC0

#403CC0 is a mid, vivid blue. Relative luminance 0.081; OKLCH L 45.1% C 0.199 H 276.2°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#403CC0
RGBrgb(64, 60, 192)
HSLhsl(242, 52%, 49%)
HSVhsv(242, 69%, 75%)
CMYKcmyk(66.7%, 68.7%, 0%, 24.7%)
CIE-LABlab(34.24, 42.63, -68.42)
CIE-LCHlch(34.24, 80.61, 301.93°)
OKLaboklab(45.11% 0.0215 -0.1975)
OKLCHoklch(45.11% 0.199 276.2)
XYZxyz(13.2415, 8.1263, 50.7297)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403CC0 #BCC03C
analogous
#3C7AC0 #403CC0 #823CC0
triadic
#403CC0 #C0403C #3CC040
tetradic
#403CC0 #C03C7A #BCC03C #3CC082
square
#403CC0 #C03C7A #BCC03C #3CC082
split-complementary
#403CC0 #C0823C #7AC03C
monochromatic
#211F63 #302D91 #403CC0 #6C69D0 #9A98DF

Accessibility & contrast

On white

8.00
#403CC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#403CC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403CC0
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403CC0#FFFFFF#000000##FFFFFF
##403CC01.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C4
Deuteranopia (green-blind)
#004BBE
Tritanopia (blue-blind)
#006079
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #403cc0;
/* rgb */ color: rgb(64, 60, 192);
/* oklch */ color: oklch(45.1% 0.199 276.2);
Tailwind
colors: {
  custom: {
    50: '#8573d4',
    500: '#403cc0',
    950: '#000000',
  },
}
SCSS
$custom: #403cc0;
$custom-light: #8573d4;
$custom-dark: #000000;
JSON
{
  "hex": "#403cc0",
  "rgb": {
    "r": 64,
    "g": 60,
    "b": 192
  },
  "hsl": {
    "h": 241.818,
    "s": 52.381,
    "l": 49.412
  },
  "oklch": {
    "l": 0.45106,
    "c": 0.19872,
    "h": 276.2
  },
  "luminance": 0.08127
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #403CC0

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

Preview Lab → · Contrast checker → · Palette generator →

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