#403CDB#403CDB

#403CDB is a mid, highly saturated blue. Relative luminance 0.094; OKLCH L 47.7% C 0.232 H 274.3°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#403CDB
RGBrgb(64, 60, 219)
HSLhsl(242, 69%, 55%)
HSVhsv(242, 73%, 86%)
CMYKcmyk(70.8%, 72.6%, 0%, 14.1%)
CIE-LABlab(36.81, 51.37, -79.87)
CIE-LCHlch(36.81, 94.96, 302.75°)
OKLaboklab(47.71% 0.0172 -0.231)
OKLCHoklch(47.71% 0.232 274.3)
XYZxyz(16.5121, 9.4346, 67.9549)
Luminance0.0944 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403CDB #D7DB3C
analogous
#3C88DB #403CDB #8F3CDB
triadic
#403CDB #DB403C #3CDB40
tetradic
#403CDB #DB3C88 #D7DB3C #3CDB8F
square
#403CDB #DB3C88 #D7DB3C #3CDB8F
split-complementary
#403CDB #DB8F3C #88DB3C
monochromatic
#1B1884 #2622B8 #403CDB #7370E5 #A5A3EE

Accessibility & contrast

On white

7.27
#403CDB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#403CDB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403CDB
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403CDB#FFFFFF#000000##FFFFFF
##403CDB1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EE0
Deuteranopia (green-blind)
#004FD8
Tritanopia (blue-blind)
#006988
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #403cdb;
/* rgb */ color: rgb(64, 60, 219);
/* oklch */ color: oklch(47.7% 0.232 274.3);
Tailwind
colors: {
  custom: {
    50: '#8b74e8',
    500: '#403cdb',
    950: '#000000',
  },
}
SCSS
$custom: #403cdb;
$custom-light: #8b74e8;
$custom-dark: #000000;
JSON
{
  "hex": "#403cdb",
  "rgb": {
    "r": 64,
    "g": 60,
    "b": 219
  },
  "hsl": {
    "h": 241.509,
    "s": 68.831,
    "l": 54.706
  },
  "oklch": {
    "l": 0.47714,
    "c": 0.23162,
    "h": 274.3
  },
  "luminance": 0.09436
}

Semantic roles & 50–950 ramp

primary
#403CDB
secondary
#D9DB98
accent
#EC3CE7
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #403CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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