#403C94#403C94

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

Color values

HEX#403C94
RGBrgb(64, 60, 148)
HSLhsl(243, 42%, 41%)
HSVhsv(243, 59%, 58%)
CMYKcmyk(56.8%, 59.5%, 0%, 42%)
CIE-LABlab(30.54, 27.90, -48.11)
CIE-LCHlch(30.54, 55.61, 300.11°)
OKLaboklab(41.26% 0.0252 -0.1379)
OKLCHoklch(41.26% 0.14 280.3)
XYZxyz(9.0738, 6.4592, 28.7798)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403C94 #90943C
analogous
#3C6494 #403C94 #6C3C94
triadic
#403C94 #94403C #3C9440
tetradic
#403C94 #943C64 #90943C #3C946C
square
#403C94 #943C64 #90943C #3C946C
split-complementary
#403C94 #946C3C #64943C
monochromatic
#1A193D #2D2A68 #403C94 #5854BA #837FCB

Accessibility & contrast

On white

9.16
#403C94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#403C94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403C94
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403C94#FFFFFF#000000##FFFFFF
##403C941.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B97
Deuteranopia (green-blind)
#004592
Tritanopia (blue-blind)
#165162
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #403c94;
/* rgb */ color: rgb(64, 60, 148);
/* oklch */ color: oklch(41.3% 0.140 280.3);
Tailwind
colors: {
  custom: {
    50: '#7d72b4',
    500: '#403c94',
    950: '#000000',
  },
}
SCSS
$custom: #403c94;
$custom-light: #7d72b4;
$custom-dark: #000000;
JSON
{
  "hex": "#403c94",
  "rgb": {
    "r": 64,
    "g": 60,
    "b": 148
  },
  "hsl": {
    "h": 242.727,
    "s": 42.308,
    "l": 40.784
  },
  "oklch": {
    "l": 0.41259,
    "c": 0.14023,
    "h": 280.3
  },
  "luminance": 0.0646
}

Semantic roles & 50–950 ramp

primary
#403C94
secondary
#B2B577
accent
#D256CC
background
#F8F6FB
surface
#EFECF6
border
#CAC7D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #403C94

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

Preview Lab → · Contrast checker → · Palette generator →

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