#403689#403689

#403689 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.3% C 0.133 H 283.9°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#403689
RGBrgb(64, 54, 137)
HSLhsl(247, 43%, 37%)
HSVhsv(247, 61%, 54%)
CMYKcmyk(53.3%, 60.6%, 0%, 46.3%)
CIE-LABlab(28.20, 28.10, -45.12)
CIE-LCHlch(28.20, 53.15, 301.92°)
OKLaboklab(39.27% 0.032 -0.1292)
OKLCHoklch(39.27% 0.133 283.9)
XYZxyz(7.9475, 5.5340, 24.3115)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403689 #7F8936
analogous
#365689 #403689 #6A3689
triadic
#403689 #894036 #368940
tetradic
#403689 #893656 #7F8936 #36896A
square
#403689 #893656 #7F8936 #36896A
split-complementary
#403689 #896A36 #568936
monochromatic
#171331 #2B255D #403689 #5547B5 #7C72C7

Accessibility & contrast

On white

9.97
#403689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#403689 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403689
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403689#FFFFFF#000000##FFFFFF
##4036891.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458C
Deuteranopia (green-blind)
#004087
Tritanopia (blue-blind)
#23495A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #403689;
/* rgb */ color: rgb(64, 54, 137);
/* oklch */ color: oklch(39.3% 0.133 283.9);
Tailwind
colors: {
  custom: {
    50: '#7b6dac',
    500: '#403689',
    950: '#000000',
  },
}
SCSS
$custom: #403689;
$custom-light: #7b6dac;
$custom-dark: #000000;
JSON
{
  "hex": "#403689",
  "rgb": {
    "r": 64,
    "g": 54,
    "b": 137
  },
  "hsl": {
    "h": 247.229,
    "s": 43.455,
    "l": 37.451
  },
  "oklch": {
    "l": 0.3927,
    "c": 0.13308,
    "h": 283.9
  },
  "luminance": 0.05534
}

Semantic roles & 50–950 ramp

primary
#403689
secondary
#A8B06B
accent
#D355C4
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0710
muted
#7C7A7F

Preview Lab

Preview with #403689

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

Preview Lab → · Contrast checker → · Palette generator →

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