#403B60#403B60

#403B60 is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.4% C 0.063 H 289.2°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#403B60
RGBrgb(64, 59, 96)
HSLhsl(248, 24%, 30%)
HSVhsv(248, 39%, 38%)
CMYKcmyk(33.3%, 38.5%, 0%, 62.4%)
CIE-LABlab(26.91, 11.76, -21.20)
CIE-LCHlch(26.91, 24.24, 299.03°)
OKLaboklab(37.45% 0.0206 -0.0591)
OKLCHoklch(37.45% 0.063 289.2)
XYZxyz(5.7891, 5.0623, 11.7362)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403B60 #5B603B
analogous
#3B4860 #403B60 #523B60
triadic
#403B60 #60403B #3B6040
tetradic
#403B60 #603B48 #5B603B #3B6052
square
#403B60 #603B48 #5B603B #3B6052
split-complementary
#403B60 #60523B #48603B
monochromatic
#0D0C14 #27243A #403B60 #595286 #766FA6

Accessibility & contrast

On white

10.44
#403B60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#403B60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403B60
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403B60#FFFFFF#000000##FFFFFF
##403B601.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304061
Deuteranopia (green-blind)
#303F5F
Tritanopia (blue-blind)
#384249
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #403b60;
/* rgb */ color: rgb(64, 59, 96);
/* oklch */ color: oklch(37.4% 0.063 289.2);
Tailwind
colors: {
  custom: {
    50: '#76708d',
    500: '#403b60',
    950: '#000000',
  },
}
SCSS
$custom: #403b60;
$custom-light: #76708d;
$custom-dark: #000000;
JSON
{
  "hex": "#403b60",
  "rgb": {
    "r": 64,
    "g": 59,
    "b": 96
  },
  "hsl": {
    "h": 248.108,
    "s": 23.871,
    "l": 30.392
  },
  "oklch": {
    "l": 0.37449,
    "c": 0.06263,
    "h": 289.2
  },
  "luminance": 0.05062
}

Semantic roles & 50–950 ramp

primary
#403B60
secondary
#8A9067
accent
#C067B4
background
#F7F6F8
surface
#EDECF0
border
#C8C7CB
text
#08070C
muted
#7B7A7D

Preview Lab

Preview with #403B60

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

Preview Lab → · Contrast checker → · Palette generator →

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