#403A66#403A66

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

Color values

HEX#403A66
RGBrgb(64, 58, 102)
HSLhsl(248, 28%, 31%)
HSVhsv(248, 43%, 40%)
CMYKcmyk(37.3%, 43.1%, 0%, 60%)
CIE-LABlab(26.95, 14.24, -25.01)
CIE-LCHlch(26.95, 28.78, 299.66°)
OKLaboklab(37.58% 0.0236 -0.0702)
OKLCHoklch(37.58% 0.074 288.6)
XYZxyz(6.0250, 5.0752, 13.2300)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403A66 #60663A
analogous
#3A4A66 #403A66 #563A66
triadic
#403A66 #66403A #3A6640
tetradic
#403A66 #663A4A #60663A #3A6656
square
#403A66 #663A4A #60663A #3A6656
split-complementary
#403A66 #66563A #4A663A
monochromatic
#0F0E18 #28243F #403A66 #58508D #766EAC

Accessibility & contrast

On white

10.42
#403A66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #403A66
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403A66#FFFFFF#000000##FFFFFF
##403A661.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4168
Deuteranopia (green-blind)
#2C3F65
Tritanopia (blue-blind)
#36424B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #403a66;
/* rgb */ color: rgb(64, 58, 102);
/* oklch */ color: oklch(37.6% 0.074 288.6);
Tailwind
colors: {
  custom: {
    50: '#767092',
    500: '#403a66',
    950: '#000000',
  },
}
SCSS
$custom: #403a66;
$custom-light: #767092;
$custom-dark: #000000;
JSON
{
  "hex": "#403a66",
  "rgb": {
    "r": 64,
    "g": 58,
    "b": 102
  },
  "hsl": {
    "h": 248.182,
    "s": 27.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.37583,
    "c": 0.07406,
    "h": 288.6
  },
  "luminance": 0.05075
}

Semantic roles & 50–950 ramp

primary
#403A66
secondary
#909666
accent
#C464B7
background
#F7F6F8
surface
#EDECF0
border
#C8C7CB
text
#09070D
muted
#7B7A7D

Preview Lab

Preview with #403A66

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

Preview Lab → · Contrast checker → · Palette generator →

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