#403F77#403F77

#403F77 is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.7% C 0.093 H 282.1°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#403F77
RGBrgb(64, 63, 119)
HSLhsl(241, 31%, 36%)
HSVhsv(241, 47%, 47%)
CMYKcmyk(46.2%, 47.1%, 0%, 53.3%)
CIE-LABlab(29.35, 16.27, -32.02)
CIE-LCHlch(29.35, 35.92, 296.94°)
OKLaboklab(39.73% 0.0195 -0.0907)
OKLCHoklch(39.73% 0.093 282.1)
XYZxyz(7.2207, 5.9766, 18.2223)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403F77 #76773F
analogous
#3F5A77 #403F77 #5C3F77
triadic
#403F77 #77403F #3F7740
tetradic
#403F77 #773F5A #76773F #3F775C
square
#403F77 #773F5A #76773F #3F775C
split-complementary
#403F77 #775C3F #5A773F
monochromatic
#151527 #2A2A4F #403F77 #56549F #7A79B8

Accessibility & contrast

On white

9.57
#403F77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#403F77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403F77
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403F77#FFFFFF#000000##FFFFFF
##403F771.009.572.209.57
#FFFFFF9.571.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294779
Deuteranopia (green-blind)
#264376
Tritanopia (blue-blind)
#2E4B55
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #403f77;
/* rgb */ color: rgb(64, 63, 119);
/* oklch */ color: oklch(39.7% 0.093 282.1);
Tailwind
colors: {
  custom: {
    50: '#78749e',
    500: '#403f77',
    950: '#000000',
  },
}
SCSS
$custom: #403f77;
$custom-light: #78749e;
$custom-dark: #000000;
JSON
{
  "hex": "#403f77",
  "rgb": {
    "r": 64,
    "g": 63,
    "b": 119
  },
  "hsl": {
    "h": 241.071,
    "s": 30.769,
    "l": 35.686
  },
  "oklch": {
    "l": 0.39733,
    "c": 0.09273,
    "h": 282.1
  },
  "luminance": 0.05977
}

Semantic roles & 50–950 ramp

primary
#403F77
secondary
#A1A26F
accent
#C761C5
background
#F7F7F9
surface
#EDEDF2
border
#C8C8CC
text
#09080E
muted
#7B7B7E

Preview Lab

Preview with #403F77

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

Preview Lab → · Contrast checker → · Palette generator →

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