#403BDA#403BDA

#403BDA is a mid, highly saturated blue. Relative luminance 0.093; OKLCH L 47.5% C 0.231 H 274.4°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#403BDA
RGBrgb(64, 59, 218)
HSLhsl(242, 68%, 54%)
HSVhsv(242, 73%, 85%)
CMYKcmyk(70.6%, 72.9%, 0%, 14.5%)
CIE-LABlab(36.51, 51.60, -79.78)
CIE-LCHlch(36.51, 95.01, 302.89°)
OKLaboklab(47.48% 0.0179 -0.2307)
OKLCHoklch(47.48% 0.231 274.4)
XYZxyz(16.3290, 9.2783, 67.2464)
Luminance0.0928 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403BDA #D5DA3B
analogous
#3B86DA #403BDA #903BDA
triadic
#403BDA #DA403B #3BDA40
tetradic
#403BDA #DA3B86 #D5DA3B #3BDA90
square
#403BDA #DA3B86 #D5DA3B #3BDA90
split-complementary
#403BDA #DA903B #86DA3B
monochromatic
#1C1982 #2722B6 #403BDA #726EE4 #A4A2ED

Accessibility & contrast

On white

7.35
#403BDA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#403BDA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403BDA
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403BDA#FFFFFF#000000##FFFFFF
##403BDA1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DDF
Deuteranopia (green-blind)
#004ED7
Tritanopia (blue-blind)
#006987
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #403bda;
/* rgb */ color: rgb(64, 59, 218);
/* oklch */ color: oklch(47.5% 0.231 274.4);
Tailwind
colors: {
  custom: {
    50: '#8b73e7',
    500: '#403bda',
    950: '#000000',
  },
}
SCSS
$custom: #403bda;
$custom-light: #8b73e7;
$custom-dark: #000000;
JSON
{
  "hex": "#403bda",
  "rgb": {
    "r": 64,
    "g": 59,
    "b": 218
  },
  "hsl": {
    "h": 241.887,
    "s": 68.24,
    "l": 54.314
  },
  "oklch": {
    "l": 0.47476,
    "c": 0.2314,
    "h": 274.4
  },
  "luminance": 0.0928
}

Semantic roles & 50–950 ramp

primary
#403BDA
secondary
#D8DA97
accent
#EB3DE6
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #403BDA

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

Preview Lab → · Contrast checker → · Palette generator →

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