#403C69#403C69

#403C69 is a dark, moderate blue. Relative luminance 0.053; OKLCH L 38.2% C 0.075 H 286.3°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#403C69
RGBrgb(64, 60, 105)
HSLhsl(245, 27%, 32%)
HSVhsv(245, 43%, 41%)
CMYKcmyk(39%, 42.9%, 0%, 58.8%)
CIE-LABlab(27.69, 13.83, -25.77)
CIE-LCHlch(27.69, 29.25, 298.21°)
OKLaboklab(38.2% 0.0212 -0.0724)
OKLCHoklch(38.2% 0.075 286.3)
XYZxyz(6.2793, 5.3414, 14.0620)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403C69 #65693C
analogous
#3C4F69 #403C69 #563C69
triadic
#403C69 #69403C #3C6940
tetradic
#403C69 #693C4F #65693C #3C6956
square
#403C69 #693C4F #65693C #3C6956
split-complementary
#403C69 #69563C #4F693C
monochromatic
#110F1B #282642 #403C69 #585290 #7771AE

Accessibility & contrast

On white

10.15
#403C69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#403C69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403C69
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403C69#FFFFFF#000000##FFFFFF
##403C691.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D436B
Deuteranopia (green-blind)
#2C4068
Tritanopia (blue-blind)
#35454D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #403c69;
/* rgb */ color: rgb(64, 60, 105);
/* oklch */ color: oklch(38.2% 0.075 286.3);
Tailwind
colors: {
  custom: {
    50: '#777194',
    500: '#403c69',
    950: '#000000',
  },
}
SCSS
$custom: #403c69;
$custom-light: #777194;
$custom-dark: #000000;
JSON
{
  "hex": "#403c69",
  "rgb": {
    "r": 64,
    "g": 60,
    "b": 105
  },
  "hsl": {
    "h": 245.333,
    "s": 27.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.382,
    "c": 0.07546,
    "h": 286.3
  },
  "luminance": 0.05342
}

Semantic roles & 50–950 ramp

primary
#403C69
secondary
#949968
accent
#C464BB
background
#F7F6F9
surface
#EDECF1
border
#C8C7CB
text
#09070D
muted
#7B7A7E

Preview Lab

Preview with #403C69

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

Preview Lab → · Contrast checker → · Palette generator →

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