#403F73#403F73

#403F73 is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.5% C 0.086 H 282.6°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#403F73
RGBrgb(64, 63, 115)
HSLhsl(241, 29%, 35%)
HSVhsv(241, 45%, 45%)
CMYKcmyk(44.3%, 45.2%, 0%, 54.9%)
CIE-LABlab(29.11, 14.98, -29.88)
CIE-LCHlch(29.11, 33.42, 296.63°)
OKLaboklab(39.47% 0.0188 -0.0844)
OKLCHoklch(39.47% 0.086 282.6)
XYZxyz(6.9855, 5.8825, 16.9837)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403F73 #72733F
analogous
#3F5873 #403F73 #5A3F73
triadic
#403F73 #73403F #3F7340
tetradic
#403F73 #733F58 #72733F #3F735A
square
#403F73 #733F58 #72733F #3F735A
split-complementary
#403F73 #735A3F #58733F
monochromatic
#141424 #2A294B #403F73 #56559B #7978B5

Accessibility & contrast

On white

9.65
#403F73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#403F73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403F73
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403F73#FFFFFF#000000##FFFFFF
##403F731.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4675
Deuteranopia (green-blind)
#294372
Tritanopia (blue-blind)
#304A53
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #403f73;
/* rgb */ color: rgb(64, 63, 115);
/* oklch */ color: oklch(39.5% 0.086 282.6);
Tailwind
colors: {
  custom: {
    50: '#78749b',
    500: '#403f73',
    950: '#000000',
  },
}
SCSS
$custom: #403f73;
$custom-light: #78749b;
$custom-dark: #000000;
JSON
{
  "hex": "#403f73",
  "rgb": {
    "r": 64,
    "g": 63,
    "b": 115
  },
  "hsl": {
    "h": 241.154,
    "s": 29.213,
    "l": 34.902
  },
  "oklch": {
    "l": 0.39474,
    "c": 0.08646,
    "h": 282.6
  },
  "luminance": 0.05883
}

Semantic roles & 50–950 ramp

primary
#403F73
secondary
#9F9F6E
accent
#C562C4
background
#F7F7F9
surface
#EDEDF2
border
#C8C8CC
text
#09080E
muted
#7B7B7E

Preview Lab

Preview with #403F73

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

Preview Lab → · Contrast checker → · Palette generator →

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