#403B67#403B67

#403B67 is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.9% C 0.074 H 287.5°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#403B67
RGBrgb(64, 59, 103)
HSLhsl(247, 27%, 32%)
HSVhsv(247, 43%, 40%)
CMYKcmyk(37.9%, 42.7%, 0%, 59.6%)
CIE-LABlab(27.29, 13.88, -25.12)
CIE-LCHlch(27.29, 28.70, 298.92°)
OKLaboklab(37.86% 0.0223 -0.0705)
OKLCHoklch(37.86% 0.074 287.5)
XYZxyz(6.1258, 5.1970, 13.5097)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403B67 #62673B
analogous
#3B4C67 #403B67 #563B67
triadic
#403B67 #67403B #3B6740
tetradic
#403B67 #673B4C #62673B #3B6756
square
#403B67 #673B4C #62673B #3B6756
split-complementary
#403B67 #67563B #4C673B
monochromatic
#100E19 #282540 #403B67 #58518E #7770AD

Accessibility & contrast

On white

10.30
#403B67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#403B67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403B67
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403B67#FFFFFF#000000##FFFFFF
##403B671.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4269
Deuteranopia (green-blind)
#2C3F66
Tritanopia (blue-blind)
#36434C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #403b67;
/* rgb */ color: rgb(64, 59, 103);
/* oklch */ color: oklch(37.9% 0.074 287.5);
Tailwind
colors: {
  custom: {
    50: '#767192',
    500: '#403b67',
    950: '#000000',
  },
}
SCSS
$custom: #403b67;
$custom-light: #767192;
$custom-dark: #000000;
JSON
{
  "hex": "#403b67",
  "rgb": {
    "r": 64,
    "g": 59,
    "b": 103
  },
  "hsl": {
    "h": 246.818,
    "s": 27.16,
    "l": 31.765
  },
  "oklch": {
    "l": 0.37861,
    "c": 0.07394,
    "h": 287.5
  },
  "luminance": 0.05197
}

Semantic roles & 50–950 ramp

primary
#403B67
secondary
#929767
accent
#C364B9
background
#F7F6F9
surface
#EDECF1
border
#C8C7CB
text
#09070D
muted
#7B7A7E

Preview Lab

Preview with #403B67

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

Preview Lab → · Contrast checker → · Palette generator →

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