#403A67#403A67

#403A67 is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.6% C 0.076 H 288.3°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#403A67
RGBrgb(64, 58, 103)
HSLhsl(248, 28%, 32%)
HSVhsv(248, 44%, 40%)
CMYKcmyk(37.9%, 43.7%, 0%, 59.6%)
CIE-LABlab(27.00, 14.55, -25.57)
CIE-LCHlch(27.00, 29.41, 299.64°)
OKLaboklab(37.64% 0.0238 -0.0718)
OKLCHoklch(37.64% 0.076 288.3)
XYZxyz(6.0749, 5.0952, 13.4927)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403A67 #61673A
analogous
#3A4B67 #403A67 #573A67
triadic
#403A67 #67403A #3A6740
tetradic
#403A67 #673A4B #61673A #3A6757
square
#403A67 #673A4B #61673A #3A6757
split-complementary
#403A67 #67573A #4B673A
monochromatic
#0F0E19 #282440 #403A67 #58508E #766EAD

Accessibility & contrast

On white

10.40
#403A67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#403A67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403A67
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403A67#FFFFFF#000000##FFFFFF
##403A671.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4169
Deuteranopia (green-blind)
#2B3F66
Tritanopia (blue-blind)
#36434B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #403a67;
/* rgb */ color: rgb(64, 58, 103);
/* oklch */ color: oklch(37.6% 0.076 288.3);
Tailwind
colors: {
  custom: {
    50: '#777092',
    500: '#403a67',
    950: '#000000',
  },
}
SCSS
$custom: #403a67;
$custom-light: #777092;
$custom-dark: #000000;
JSON
{
  "hex": "#403a67",
  "rgb": {
    "r": 64,
    "g": 58,
    "b": 103
  },
  "hsl": {
    "h": 248,
    "s": 27.95,
    "l": 31.569
  },
  "oklch": {
    "l": 0.37644,
    "c": 0.07566,
    "h": 288.3
  },
  "luminance": 0.05095
}

Semantic roles & 50–950 ramp

primary
#403A67
secondary
#919766
accent
#C464B7
background
#F7F6F9
surface
#EDECF1
border
#C8C7CB
text
#09070D
muted
#7B7A7E

Preview Lab

Preview with #403A67

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

Preview Lab → · Contrast checker → · Palette generator →

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