#403296#403296

#403296 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.7% C 0.156 H 283.0°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#403296
RGBrgb(64, 50, 150)
HSLhsl(248, 50%, 39%)
HSVhsv(248, 67%, 59%)
CMYKcmyk(57.3%, 66.7%, 0%, 41.2%)
CIE-LABlab(28.31, 34.86, -52.97)
CIE-LCHlch(28.31, 63.41, 303.35°)
OKLaboklab(39.67% 0.0352 -0.1523)
OKLCHoklch(39.67% 0.156 283)
XYZxyz(8.7583, 5.5727, 29.4624)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403296 #889632
analogous
#325696 #403296 #723296
triadic
#403296 #964032 #329640
tetradic
#403296 #963256 #889632 #329672
square
#403296 #963256 #889632 #329672
split-complementary
#403296 #967232 #569632
monochromatic
#19133A #2C2368 #403296 #5644C1 #7F72D0

Accessibility & contrast

On white

9.93
#403296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#403296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403296
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403296#FFFFFF#000000##FFFFFF
##4032961.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004699
Deuteranopia (green-blind)
#003F94
Tritanopia (blue-blind)
#154B5F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #403296;
/* rgb */ color: rgb(64, 50, 150);
/* oklch */ color: oklch(39.7% 0.156 283.0);
Tailwind
colors: {
  custom: {
    50: '#7e6bb6',
    500: '#403296',
    950: '#000000',
  },
}
SCSS
$custom: #403296;
$custom-light: #7e6bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#403296",
  "rgb": {
    "r": 64,
    "g": 50,
    "b": 150
  },
  "hsl": {
    "h": 248.4,
    "s": 50,
    "l": 39.216
  },
  "oklch": {
    "l": 0.39674,
    "c": 0.15629,
    "h": 283
  },
  "luminance": 0.05573
}

Semantic roles & 50–950 ramp

primary
#403296
secondary
#ADB86C
accent
#DA4EC6
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #403296

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

Preview Lab → · Contrast checker → · Palette generator →

#403296 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva