#403D60#403D60

#403D60 is a dark, muted blue. Relative luminance 0.053; OKLCH L 37.9% C 0.059 H 287.1°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#403D60
RGBrgb(64, 61, 96)
HSLhsl(245, 22%, 31%)
HSVhsv(245, 36%, 38%)
CMYKcmyk(33.3%, 36.5%, 0%, 62.4%)
CIE-LABlab(27.50, 10.42, -20.28)
CIE-LCHlch(27.50, 22.80, 297.20°)
OKLaboklab(37.9% 0.0174 -0.0565)
OKLCHoklch(37.9% 0.059 287.1)
XYZxyz(5.8939, 5.2719, 11.7711)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403D60 #5D603D
analogous
#3D4B60 #403D60 #513D60
triadic
#403D60 #60403D #3D6040
tetradic
#403D60 #603D4B #5D603D #3D6051
square
#403D60 #603D4B #5D603D #3D6051
split-complementary
#403D60 #60513D #4B603D
monochromatic
#0E0D15 #27253B #403D60 #595585 #7672A5

Accessibility & contrast

On white

10.22
#403D60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#403D60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403D60
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403D60#FFFFFF#000000##FFFFFF
##403D601.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334261
Deuteranopia (green-blind)
#32405F
Tritanopia (blue-blind)
#38434A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #403d60;
/* rgb */ color: rgb(64, 61, 96);
/* oklch */ color: oklch(37.9% 0.059 287.1);
Tailwind
colors: {
  custom: {
    50: '#76728d',
    500: '#403d60',
    950: '#000000',
  },
}
SCSS
$custom: #403d60;
$custom-light: #76728d;
$custom-dark: #000000;
JSON
{
  "hex": "#403d60",
  "rgb": {
    "r": 64,
    "g": 61,
    "b": 96
  },
  "hsl": {
    "h": 245.143,
    "s": 22.293,
    "l": 30.784
  },
  "oklch": {
    "l": 0.37897,
    "c": 0.05914,
    "h": 287.1
  },
  "luminance": 0.05272
}

Semantic roles & 50–950 ramp

primary
#403D60
secondary
#8C9069
accent
#BF69B7
background
#F7F6F8
surface
#EDECF0
border
#C8C7CB
text
#08080C
muted
#7B7B7D

Preview Lab

Preview with #403D60

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

Preview Lab → · Contrast checker → · Palette generator →

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