#403C95#403C95

#403C95 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.3% C 0.142 H 280.2°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#403C95
RGBrgb(64, 60, 149)
HSLhsl(243, 43%, 41%)
HSVhsv(243, 60%, 58%)
CMYKcmyk(57%, 59.7%, 0%, 41.6%)
CIE-LABlab(30.62, 28.24, -48.59)
CIE-LCHlch(30.62, 56.20, 300.16°)
OKLaboklab(41.34% 0.0252 -0.1394)
OKLCHoklch(41.34% 0.142 280.2)
XYZxyz(9.1533, 6.4910, 29.1985)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403C95 #91953C
analogous
#3C6495 #403C95 #6C3C95
triadic
#403C95 #95403C #3C9540
tetradic
#403C95 #953C64 #91953C #3C956C
square
#403C95 #953C64 #91953C #3C956C
split-complementary
#403C95 #956C3C #64953C
monochromatic
#1B193E #2D2A69 #403C95 #5954BA #8380CC

Accessibility & contrast

On white

9.14
#403C95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#403C95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403C95
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403C95#FFFFFF#000000##FFFFFF
##403C951.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B98
Deuteranopia (green-blind)
#004593
Tritanopia (blue-blind)
#145162
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #403c95;
/* rgb */ color: rgb(64, 60, 149);
/* oklch */ color: oklch(41.3% 0.142 280.2);
Tailwind
colors: {
  custom: {
    50: '#7d72b5',
    500: '#403c95',
    950: '#000000',
  },
}
SCSS
$custom: #403c95;
$custom-light: #7d72b5;
$custom-dark: #000000;
JSON
{
  "hex": "#403c95",
  "rgb": {
    "r": 64,
    "g": 60,
    "b": 149
  },
  "hsl": {
    "h": 242.697,
    "s": 42.584,
    "l": 40.98
  },
  "oklch": {
    "l": 0.4134,
    "c": 0.14163,
    "h": 280.2
  },
  "luminance": 0.06492
}

Semantic roles & 50–950 ramp

primary
#403C95
secondary
#B3B677
accent
#D255CD
background
#F8F6FB
surface
#EFECF6
border
#CAC7D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #403C95

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

Preview Lab → · Contrast checker → · Palette generator →

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