#403E73#403E73

#403E73 is a dark, moderate blue. Relative luminance 0.058; OKLCH L 39.3% C 0.088 H 283.3°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#403E73
RGBrgb(64, 62, 115)
HSLhsl(242, 30%, 35%)
HSVhsv(242, 46%, 45%)
CMYKcmyk(44.3%, 46.1%, 0%, 54.9%)
CIE-LABlab(28.83, 15.65, -30.32)
CIE-LCHlch(28.83, 34.12, 297.29°)
OKLaboklab(39.26% 0.0202 -0.0857)
OKLCHoklch(39.26% 0.088 283.3)
XYZxyz(6.9306, 5.7728, 16.9654)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403E73 #71733E
analogous
#3E5773 #403E73 #5B3E73
triadic
#403E73 #73403E #3E7340
tetradic
#403E73 #733E57 #71733E #3E735B
square
#403E73 #733E57 #71733E #3E735B
split-complementary
#403E73 #735B3E #57733E
monochromatic
#141323 #2A294B #403E73 #56539B #7976B5

Accessibility & contrast

On white

9.75
#403E73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#403E73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403E73
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403E73#FFFFFF#000000##FFFFFF
##403E731.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4675
Deuteranopia (green-blind)
#284272
Tritanopia (blue-blind)
#304953
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #403e73;
/* rgb */ color: rgb(64, 62, 115);
/* oklch */ color: oklch(39.3% 0.088 283.3);
Tailwind
colors: {
  custom: {
    50: '#78739b',
    500: '#403e73',
    950: '#000000',
  },
}
SCSS
$custom: #403e73;
$custom-light: #78739b;
$custom-dark: #000000;
JSON
{
  "hex": "#403e73",
  "rgb": {
    "r": 64,
    "g": 62,
    "b": 115
  },
  "hsl": {
    "h": 242.264,
    "s": 29.944,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39259,
    "c": 0.08805,
    "h": 283.3
  },
  "luminance": 0.05773
}

Semantic roles & 50–950 ramp

primary
#403E73
secondary
#9EA06D
accent
#C662C2
background
#F7F6F9
surface
#EDECF2
border
#C8C7CC
text
#09080E
muted
#7B7B7E

Preview Lab

Preview with #403E73

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

Preview Lab → · Contrast checker → · Palette generator →

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