#403C63#403C63

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

Color values

HEX#403C63
RGBrgb(64, 60, 99)
HSLhsl(246, 25%, 31%)
HSVhsv(246, 39%, 39%)
CMYKcmyk(35.4%, 39.4%, 0%, 61.2%)
CIE-LABlab(27.36, 11.99, -22.43)
CIE-LCHlch(27.36, 25.44, 298.13°)
OKLaboklab(37.84% 0.0198 -0.0627)
OKLCHoklch(37.84% 0.066 287.5)
XYZxyz(5.9817, 5.2224, 12.4948)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403C63 #5F633C
analogous
#3C4B63 #403C63 #533C63
triadic
#403C63 #63403C #3C6340
tetradic
#403C63 #633C4B #5F633C #3C6353
square
#403C63 #633C4B #5F633C #3C6353
split-complementary
#403C63 #63533C #4B633C
monochromatic
#0F0E17 #27253D #403C63 #595389 #7671A9

Accessibility & contrast

On white

10.27
#403C63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #403C63
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403C63#FFFFFF#000000##FFFFFF
##403C631.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304265
Deuteranopia (green-blind)
#304062
Tritanopia (blue-blind)
#37434A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #403c63;
/* rgb */ color: rgb(64, 60, 99);
/* oklch */ color: oklch(37.8% 0.066 287.5);
Tailwind
colors: {
  custom: {
    50: '#76718f',
    500: '#403c63',
    950: '#000000',
  },
}
SCSS
$custom: #403c63;
$custom-light: #76718f;
$custom-dark: #000000;
JSON
{
  "hex": "#403c63",
  "rgb": {
    "r": 64,
    "g": 60,
    "b": 99
  },
  "hsl": {
    "h": 246.154,
    "s": 24.528,
    "l": 31.176
  },
  "oklch": {
    "l": 0.37843,
    "c": 0.06577,
    "h": 287.5
  },
  "luminance": 0.05223
}

Semantic roles & 50–950 ramp

primary
#403C63
secondary
#8F9368
accent
#C167B8
background
#F7F6F8
surface
#EDECF0
border
#C8C7CB
text
#08070C
muted
#7B7A7D

Preview Lab

Preview with #403C63

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

Preview Lab → · Contrast checker → · Palette generator →

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