#403B68#403B68

#403B68 is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.9% C 0.076 H 287.3°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#403B68
RGBrgb(64, 59, 104)
HSLhsl(247, 28%, 32%)
HSVhsv(247, 43%, 41%)
CMYKcmyk(38.5%, 43.3%, 0%, 59.2%)
CIE-LABlab(27.34, 14.19, -25.67)
CIE-LCHlch(27.34, 29.33, 298.93°)
OKLaboklab(37.92% 0.0225 -0.0721)
OKLCHoklch(37.92% 0.076 287.3)
XYZxyz(6.1763, 5.2172, 13.7756)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403B68 #63683B
analogous
#3B4D68 #403B68 #573B68
triadic
#403B68 #68403B #3B6840
tetradic
#403B68 #683B4D #63683B #3B6857
square
#403B68 #683B4D #63683B #3B6857
split-complementary
#403B68 #68573B #4D683B
monochromatic
#100F1A #282541 #403B68 #58518F #7770AE

Accessibility & contrast

On white

10.28
#403B68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #403B68
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403B68#FFFFFF#000000##FFFFFF
##403B681.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C426A
Deuteranopia (green-blind)
#2C3F67
Tritanopia (blue-blind)
#36444C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #403b68;
/* rgb */ color: rgb(64, 59, 104);
/* oklch */ color: oklch(37.9% 0.076 287.3);
Tailwind
colors: {
  custom: {
    50: '#777193',
    500: '#403b68',
    950: '#000000',
  },
}
SCSS
$custom: #403b68;
$custom-light: #777193;
$custom-dark: #000000;
JSON
{
  "hex": "#403b68",
  "rgb": {
    "r": 64,
    "g": 59,
    "b": 104
  },
  "hsl": {
    "h": 246.667,
    "s": 27.607,
    "l": 31.961
  },
  "oklch": {
    "l": 0.37922,
    "c": 0.07555,
    "h": 287.3
  },
  "luminance": 0.05217
}

Semantic roles & 50–950 ramp

primary
#403B68
secondary
#939867
accent
#C464B9
background
#F7F6F9
surface
#EDECF1
border
#C8C7CB
text
#09070D
muted
#7B7A7E

Preview Lab

Preview with #403B68

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

Preview Lab → · Contrast checker → · Palette generator →

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