#403D67#403D67

#403D67 is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.3% C 0.071 H 285.8°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#403D67
RGBrgb(64, 61, 103)
HSLhsl(244, 26%, 32%)
HSVhsv(244, 41%, 40%)
CMYKcmyk(37.9%, 40.8%, 0%, 59.6%)
CIE-LABlab(27.86, 12.54, -24.21)
CIE-LCHlch(27.86, 27.27, 297.38°)
OKLaboklab(38.3% 0.0192 -0.0679)
OKLCHoklch(38.3% 0.071 285.8)
XYZxyz(6.2306, 5.4066, 13.5446)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403D67 #64673D
analogous
#3D4F67 #403D67 #553D67
triadic
#403D67 #67403D #3D6740
tetradic
#403D67 #673D4F #64673D #3D6755
square
#403D67 #673D4F #64673D #3D6755
split-complementary
#403D67 #67553D #4F673D
monochromatic
#100F1A #282641 #403D67 #58548D #7773AC

Accessibility & contrast

On white

10.09
#403D67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#403D67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403D67
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403D67#FFFFFF#000000##FFFFFF
##403D671.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304369
Deuteranopia (green-blind)
#2F4166
Tritanopia (blue-blind)
#36454D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #403d67;
/* rgb */ color: rgb(64, 61, 103);
/* oklch */ color: oklch(38.3% 0.071 285.8);
Tailwind
colors: {
  custom: {
    50: '#767292',
    500: '#403d67',
    950: '#000000',
  },
}
SCSS
$custom: #403d67;
$custom-light: #767292;
$custom-dark: #000000;
JSON
{
  "hex": "#403d67",
  "rgb": {
    "r": 64,
    "g": 61,
    "b": 103
  },
  "hsl": {
    "h": 244.286,
    "s": 25.61,
    "l": 32.157
  },
  "oklch": {
    "l": 0.38299,
    "c": 0.07055,
    "h": 285.8
  },
  "luminance": 0.05407
}

Semantic roles & 50–950 ramp

primary
#403D67
secondary
#939769
accent
#C266BB
background
#F7F6F9
surface
#EDECF1
border
#C8C7CB
text
#09080D
muted
#7B7B7E

Preview Lab

Preview with #403D67

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

Preview Lab → · Contrast checker → · Palette generator →

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