#403699#403699

#403699 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.6% C 0.155 H 281.5°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#403699
RGBrgb(64, 54, 153)
HSLhsl(246, 48%, 41%)
HSVhsv(246, 65%, 60%)
CMYKcmyk(58.2%, 64.7%, 0%, 40%)
CIE-LABlab(29.48, 33.38, -52.89)
CIE-LCHlch(29.48, 62.54, 302.26°)
OKLaboklab(40.61% 0.031 -0.152)
OKLCHoklch(40.61% 0.155 281.5)
XYZxyz(9.1815, 6.0276, 30.8104)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403699 #8F9936
analogous
#365D99 #403699 #713699
triadic
#403699 #994036 #369940
tetradic
#403699 #99365D #8F9936 #369971
square
#403699 #99365D #8F9936 #369971
split-complementary
#403699 #997136 #5D9936
monochromatic
#1A163F #2D266C #403699 #584CC0 #827AD0

Accessibility & contrast

On white

9.52
#403699 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#403699 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403699
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403699#FFFFFF#000000##FFFFFF
##4036991.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499C
Deuteranopia (green-blind)
#004297
Tritanopia (blue-blind)
#0F4F62
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #403699;
/* rgb */ color: rgb(64, 54, 153);
/* oklch */ color: oklch(40.6% 0.155 281.5);
Tailwind
colors: {
  custom: {
    50: '#7e6eb8',
    500: '#403699',
    950: '#000000',
  },
}
SCSS
$custom: #403699;
$custom-light: #7e6eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#403699",
  "rgb": {
    "r": 64,
    "g": 54,
    "b": 153
  },
  "hsl": {
    "h": 246.061,
    "s": 47.826,
    "l": 40.588
  },
  "oklch": {
    "l": 0.40606,
    "c": 0.15516,
    "h": 281.5
  },
  "luminance": 0.06028
}

Semantic roles & 50–950 ramp

primary
#403699
secondary
#B2B972
accent
#D750CA
background
#F8F6FB
surface
#EFECF6
border
#CAC7D0
text
#0B0711
muted
#7C7A80

Preview Lab

Preview with #403699

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

Preview Lab → · Contrast checker → · Palette generator →

#403699 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva