#403F65#403F65

#403F65 is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.6% C 0.064 H 284.2°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#403F65
RGBrgb(64, 63, 101)
HSLhsl(242, 23%, 32%)
HSVhsv(242, 38%, 40%)
CMYKcmyk(36.6%, 37.6%, 0%, 60.4%)
CIE-LABlab(28.34, 10.59, -22.18)
CIE-LCHlch(28.34, 24.58, 295.52°)
OKLaboklab(38.63% 0.0157 -0.062)
OKLCHoklch(38.63% 0.064 284.2)
XYZxyz(6.2402, 5.5844, 13.0585)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403F65 #64653F
analogous
#3F5165 #403F65 #533F65
triadic
#403F65 #65403F #3F6540
tetradic
#403F65 #653F51 #64653F #3F6553
square
#403F65 #653F51 #64653F #3F6553
split-complementary
#403F65 #65533F #51653F
monochromatic
#10101A #28273F #403F65 #58578B #7775A9

Accessibility & contrast

On white

9.92
#403F65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#403F65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403F65
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403F65#FFFFFF#000000##FFFFFF
##403F651.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334467
Deuteranopia (green-blind)
#324264
Tritanopia (blue-blind)
#36464D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #403f65;
/* rgb */ color: rgb(64, 63, 101);
/* oklch */ color: oklch(38.6% 0.064 284.2);
Tailwind
colors: {
  custom: {
    50: '#767491',
    500: '#403f65',
    950: '#000000',
  },
}
SCSS
$custom: #403f65;
$custom-light: #767491;
$custom-dark: #000000;
JSON
{
  "hex": "#403f65",
  "rgb": {
    "r": 64,
    "g": 63,
    "b": 101
  },
  "hsl": {
    "h": 241.579,
    "s": 23.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.38628,
    "c": 0.06395,
    "h": 284.2
  },
  "luminance": 0.05585
}

Semantic roles & 50–950 ramp

primary
#403F65
secondary
#93956B
accent
#C068BD
background
#F7F7F8
surface
#EDEDF0
border
#C8C8CB
text
#08080C
muted
#7B7B7D

Preview Lab

Preview with #403F65

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

Preview Lab → · Contrast checker → · Palette generator →

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