#403B66#403B66

#403B66 is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.8% C 0.072 H 287.7°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#403B66
RGBrgb(64, 59, 102)
HSLhsl(247, 27%, 32%)
HSVhsv(247, 42%, 40%)
CMYKcmyk(37.3%, 42.2%, 0%, 60%)
CIE-LABlab(27.23, 13.57, -24.56)
CIE-LCHlch(27.23, 28.06, 298.92°)
OKLaboklab(37.8% 0.0221 -0.0689)
OKLCHoklch(37.8% 0.072 287.7)
XYZxyz(6.0759, 5.1771, 13.2469)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403B66 #61663B
analogous
#3B4C66 #403B66 #563B66
triadic
#403B66 #66403B #3B6640
tetradic
#403B66 #663B4C #61663B #3B6656
square
#403B66 #663B4C #61663B #3B6656
split-complementary
#403B66 #66563B #4C663B
monochromatic
#0F0E18 #28253F #403B66 #58518D #766FAC

Accessibility & contrast

On white

10.32
#403B66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#403B66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403B66
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403B66#FFFFFF#000000##FFFFFF
##403B661.0010.322.0410.32
#FFFFFF10.321.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4168
Deuteranopia (green-blind)
#2D3F65
Tritanopia (blue-blind)
#36434B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #403b66;
/* rgb */ color: rgb(64, 59, 102);
/* oklch */ color: oklch(37.8% 0.072 287.7);
Tailwind
colors: {
  custom: {
    50: '#767192',
    500: '#403b66',
    950: '#000000',
  },
}
SCSS
$custom: #403b66;
$custom-light: #767192;
$custom-dark: #000000;
JSON
{
  "hex": "#403b66",
  "rgb": {
    "r": 64,
    "g": 59,
    "b": 102
  },
  "hsl": {
    "h": 246.977,
    "s": 26.708,
    "l": 31.569
  },
  "oklch": {
    "l": 0.378,
    "c": 0.07234,
    "h": 287.7
  },
  "luminance": 0.05177
}

Semantic roles & 50–950 ramp

primary
#403B66
secondary
#919667
accent
#C365B8
background
#F7F6F8
surface
#EDECF0
border
#C8C7CB
text
#09070D
muted
#7B7A7D

Preview Lab

Preview with #403B66

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

Preview Lab → · Contrast checker → · Palette generator →

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