#403ACD#403ACD

#403ACD is a mid, highly saturated blue. Relative luminance 0.085; OKLCH L 46.1% C 0.217 H 275.5°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#403ACD
RGBrgb(64, 58, 205)
HSLhsl(242, 60%, 52%)
HSVhsv(242, 72%, 80%)
CMYKcmyk(68.8%, 71.7%, 0%, 19.6%)
CIE-LABlab(35.05, 48.01, -74.69)
CIE-LCHlch(35.05, 88.78, 302.73°)
OKLaboklab(46.05% 0.0207 -0.2159)
OKLCHoklch(46.05% 0.217 275.5)
XYZxyz(14.6432, 8.5225, 58.6191)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403ACD #C7CD3A
analogous
#3A7ECD #403ACD #8A3ACD
triadic
#403ACD #CD403A #3ACD40
tetradic
#403ACD #CD3A7E #C7CD3A #3ACD8A
square
#403ACD #CD3A7E #C7CD3A #3ACD8A
split-complementary
#403ACD #CD8A3A #7ECD3A
monochromatic
#201C70 #2E29A1 #403ACD #6F6BD9 #9F9CE6

Accessibility & contrast

On white

7.76
#403ACD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#403ACD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403ACD
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403ACD#FFFFFF#000000##FFFFFF
##403ACD1.007.762.707.76
#FFFFFF7.761.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059D1
Deuteranopia (green-blind)
#004CCA
Tritanopia (blue-blind)
#006380
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #403acd;
/* rgb */ color: rgb(64, 58, 205);
/* oklch */ color: oklch(46.1% 0.217 275.5);
Tailwind
colors: {
  custom: {
    50: '#8872de',
    500: '#403acd',
    950: '#000000',
  },
}
SCSS
$custom: #403acd;
$custom-light: #8872de;
$custom-dark: #000000;
JSON
{
  "hex": "#403acd",
  "rgb": {
    "r": 64,
    "g": 58,
    "b": 205
  },
  "hsl": {
    "h": 242.449,
    "s": 59.514,
    "l": 51.569
  },
  "oklch": {
    "l": 0.46052,
    "c": 0.21685,
    "h": 275.5
  },
  "luminance": 0.08524
}

Semantic roles & 50–950 ramp

primary
#403ACD
secondary
#CFD291
accent
#E345DC
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #403ACD

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

Preview Lab → · Contrast checker → · Palette generator →

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