#403D64#403D64

#403D64 is a dark, moderate blue. Relative luminance 0.053; OKLCH L 38.1% C 0.066 H 286.4°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#403D64
RGBrgb(64, 61, 100)
HSLhsl(245, 24%, 32%)
HSVhsv(245, 39%, 39%)
CMYKcmyk(36%, 39%, 0%, 60.8%)
CIE-LABlab(27.70, 11.62, -22.54)
CIE-LCHlch(27.70, 25.36, 297.28°)
OKLaboklab(38.12% 0.0185 -0.063)
OKLCHoklch(38.12% 0.066 286.4)
XYZxyz(6.0827, 5.3474, 12.7658)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403D64 #61643D
analogous
#3D4E64 #403D64 #543D64
triadic
#403D64 #64403D #3D6440
tetradic
#403D64 #643D4E #61643D #3D6454
square
#403D64 #643D4E #61643D #3D6454
split-complementary
#403D64 #64543D #4E643D
monochromatic
#0F0F18 #28263E #403D64 #58548A #7672A9

Accessibility & contrast

On white

10.15
#403D64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#403D64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403D64
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403D64#FFFFFF#000000##FFFFFF
##403D641.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314266
Deuteranopia (green-blind)
#304063
Tritanopia (blue-blind)
#37444B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #403d64;
/* rgb */ color: rgb(64, 61, 100);
/* oklch */ color: oklch(38.1% 0.066 286.4);
Tailwind
colors: {
  custom: {
    50: '#767290',
    500: '#403d64',
    950: '#000000',
  },
}
SCSS
$custom: #403d64;
$custom-light: #767290;
$custom-dark: #000000;
JSON
{
  "hex": "#403d64",
  "rgb": {
    "r": 64,
    "g": 61,
    "b": 100
  },
  "hsl": {
    "h": 244.615,
    "s": 24.224,
    "l": 31.569
  },
  "oklch": {
    "l": 0.38123,
    "c": 0.06569,
    "h": 286.4
  },
  "luminance": 0.05348
}

Semantic roles & 50–950 ramp

primary
#403D64
secondary
#919469
accent
#C167BA
background
#F7F6F8
surface
#EDECF0
border
#C8C7CB
text
#08080C
muted
#7B7B7D

Preview Lab

Preview with #403D64

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

Preview Lab → · Contrast checker → · Palette generator →

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