#403D65#403D65

#403D65 is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.2% C 0.067 H 286.2°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#403D65
RGBrgb(64, 61, 101)
HSLhsl(245, 25%, 32%)
HSVhsv(245, 40%, 40%)
CMYKcmyk(36.6%, 39.6%, 0%, 60.4%)
CIE-LABlab(27.76, 11.93, -23.10)
CIE-LCHlch(27.76, 26.00, 297.31°)
OKLaboklab(38.18% 0.0188 -0.0646)
OKLCHoklch(38.18% 0.067 286.2)
XYZxyz(6.1314, 5.3669, 13.0223)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403D65 #62653D
analogous
#3D4E65 #403D65 #543D65
triadic
#403D65 #65403D #3D6540
tetradic
#403D65 #653D4E #62653D #3D6554
square
#403D65 #653D4E #62653D #3D6554
split-complementary
#403D65 #65543D #4E653D
monochromatic
#100F19 #28263F #403D65 #58548B #7772AA

Accessibility & contrast

On white

10.13
#403D65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #403D65
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403D65#FFFFFF#000000##FFFFFF
##403D651.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314367
Deuteranopia (green-blind)
#304064
Tritanopia (blue-blind)
#36444C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #403d65;
/* rgb */ color: rgb(64, 61, 101);
/* oklch */ color: oklch(38.2% 0.067 286.2);
Tailwind
colors: {
  custom: {
    50: '#767291',
    500: '#403d65',
    950: '#000000',
  },
}
SCSS
$custom: #403d65;
$custom-light: #767291;
$custom-dark: #000000;
JSON
{
  "hex": "#403d65",
  "rgb": {
    "r": 64,
    "g": 61,
    "b": 101
  },
  "hsl": {
    "h": 244.5,
    "s": 24.691,
    "l": 31.765
  },
  "oklch": {
    "l": 0.38181,
    "c": 0.06731,
    "h": 286.2
  },
  "luminance": 0.05367
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #403D65

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

Preview Lab → · Contrast checker → · Palette generator →

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