#403F75#403F75

#403F75 is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.6% C 0.090 H 282.3°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#403F75
RGBrgb(64, 63, 117)
HSLhsl(241, 30%, 35%)
HSVhsv(241, 46%, 46%)
CMYKcmyk(45.3%, 46.2%, 0%, 54.1%)
CIE-LABlab(29.23, 15.63, -30.95)
CIE-LCHlch(29.23, 34.67, 296.79°)
OKLaboklab(39.6% 0.0192 -0.0875)
OKLCHoklch(39.6% 0.09 282.3)
XYZxyz(7.1018, 5.9290, 17.5964)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403F75 #74753F
analogous
#3F5975 #403F75 #5B3F75
triadic
#403F75 #75403F #3F7540
tetradic
#403F75 #753F59 #74753F #3F755B
square
#403F75 #753F59 #74753F #3F755B
split-complementary
#403F75 #755B3F #59753F
monochromatic
#141425 #2A2A4D #403F75 #56549D #7978B6

Accessibility & contrast

On white

9.61
#403F75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#403F75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403F75
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403F75#FFFFFF#000000##FFFFFF
##403F751.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4777
Deuteranopia (green-blind)
#284374
Tritanopia (blue-blind)
#2F4A54
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #403f75;
/* rgb */ color: rgb(64, 63, 117);
/* oklch */ color: oklch(39.6% 0.090 282.3);
Tailwind
colors: {
  custom: {
    50: '#78749d',
    500: '#403f75',
    950: '#000000',
  },
}
SCSS
$custom: #403f75;
$custom-light: #78749d;
$custom-dark: #000000;
JSON
{
  "hex": "#403f75",
  "rgb": {
    "r": 64,
    "g": 63,
    "b": 117
  },
  "hsl": {
    "h": 241.111,
    "s": 30,
    "l": 35.294
  },
  "oklch": {
    "l": 0.39602,
    "c": 0.0896,
    "h": 282.3
  },
  "luminance": 0.05929
}

Semantic roles & 50–950 ramp

primary
#403F75
secondary
#A0A16F
accent
#C662C4
background
#F7F7F9
surface
#EDEDF2
border
#C8C8CC
text
#09080E
muted
#7B7B7E

Preview Lab

Preview with #403F75

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

Preview Lab → · Contrast checker → · Palette generator →

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