#403F63#403F63

#403F63 is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.5% C 0.061 H 284.4°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#403F63
RGBrgb(64, 63, 99)
HSLhsl(242, 22%, 32%)
HSVhsv(242, 36%, 39%)
CMYKcmyk(35.4%, 36.4%, 0%, 61.2%)
CIE-LABlab(28.24, 9.99, -21.06)
CIE-LCHlch(28.24, 23.31, 295.37°)
OKLaboklab(38.52% 0.0151 -0.0587)
OKLCHoklch(38.52% 0.061 284.4)
XYZxyz(6.1434, 5.5457, 12.5487)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403F63 #62633F
analogous
#3F5063 #403F63 #523F63
triadic
#403F63 #63403F #3F6340
tetradic
#403F63 #633F50 #62633F #3F6352
square
#403F63 #633F50 #62633F #3F6352
split-complementary
#403F63 #63523F #50633F
monochromatic
#100F18 #28273E #403F63 #585788 #7775A7

Accessibility & contrast

On white

9.96
#403F63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#403F63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403F63
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403F63#FFFFFF#000000##FFFFFF
##403F631.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344464
Deuteranopia (green-blind)
#334262
Tritanopia (blue-blind)
#37464C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #403f63;
/* rgb */ color: rgb(64, 63, 99);
/* oklch */ color: oklch(38.5% 0.061 284.4);
Tailwind
colors: {
  custom: {
    50: '#76748f',
    500: '#403f63',
    950: '#000000',
  },
}
SCSS
$custom: #403f63;
$custom-light: #76748f;
$custom-dark: #000000;
JSON
{
  "hex": "#403f63",
  "rgb": {
    "r": 64,
    "g": 63,
    "b": 99
  },
  "hsl": {
    "h": 241.667,
    "s": 22.222,
    "l": 31.765
  },
  "oklch": {
    "l": 0.38515,
    "c": 0.06067,
    "h": 284.4
  },
  "luminance": 0.05546
}

Semantic roles & 50–950 ramp

primary
#403F63
secondary
#92936B
accent
#BF69BC
background
#F7F7F8
surface
#EDEDF0
border
#C8C8CB
text
#08080C
muted
#7B7B7D

Preview Lab

Preview with #403F63

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

Preview Lab → · Contrast checker → · Palette generator →

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