#403A68#403A68

#403A68 is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.7% C 0.077 H 288.1°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#403A68
RGBrgb(64, 58, 104)
HSLhsl(248, 28%, 32%)
HSVhsv(248, 44%, 41%)
CMYKcmyk(38.5%, 44.2%, 0%, 59.2%)
CIE-LABlab(27.06, 14.86, -26.12)
CIE-LCHlch(27.06, 30.05, 299.63°)
OKLaboklab(37.71% 0.024 -0.0734)
OKLCHoklch(37.71% 0.077 288.1)
XYZxyz(6.1254, 5.1154, 13.7587)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403A68 #62683A
analogous
#3A4B68 #403A68 #573A68
triadic
#403A68 #68403A #3A6840
tetradic
#403A68 #683A4B #62683A #3A6857
square
#403A68 #683A4B #62683A #3A6857
split-complementary
#403A68 #68573A #4B683A
monochromatic
#100E19 #282441 #403A68 #58508F #776EAE

Accessibility & contrast

On white

10.38
#403A68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #403A68
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403A68#FFFFFF#000000##FFFFFF
##403A681.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #403a68;
/* rgb */ color: rgb(64, 58, 104);
/* oklch */ color: oklch(37.7% 0.077 288.1);
Tailwind
colors: {
  custom: {
    50: '#777093',
    500: '#403a68',
    950: '#000000',
  },
}
SCSS
$custom: #403a68;
$custom-light: #777093;
$custom-dark: #000000;
JSON
{
  "hex": "#403a68",
  "rgb": {
    "r": 64,
    "g": 58,
    "b": 104
  },
  "hsl": {
    "h": 247.826,
    "s": 28.395,
    "l": 31.765
  },
  "oklch": {
    "l": 0.37706,
    "c": 0.07725,
    "h": 288.1
  },
  "luminance": 0.05116
}

Semantic roles & 50–950 ramp

primary
#403A68
secondary
#929866
accent
#C563B8
background
#F7F6F9
surface
#EDECF1
border
#C8C7CB
text
#09070D
muted
#7B7A7E

Preview Lab

Preview with #403A68

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

Preview Lab → · Contrast checker → · Palette generator →

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