#403295#403295

#403295 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.6% C 0.155 H 283.2°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#403295
RGBrgb(64, 50, 149)
HSLhsl(248, 50%, 39%)
HSVhsv(248, 66%, 58%)
CMYKcmyk(57%, 66.4%, 0%, 41.6%)
CIE-LABlab(28.22, 34.53, -52.49)
CIE-LCHlch(28.22, 62.83, 303.34°)
OKLaboklab(39.59% 0.0353 -0.1509)
OKLCHoklch(39.59% 0.155 283.2)
XYZxyz(8.6781, 5.5406, 29.0401)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403295 #879532
analogous
#325695 #403295 #723295
triadic
#403295 #954032 #329540
tetradic
#403295 #953256 #879532 #329572
square
#403295 #953256 #879532 #329572
split-complementary
#403295 #957232 #569532
monochromatic
#191339 #2C2367 #403295 #5644C0 #7F72D0

Accessibility & contrast

On white

9.96
#403295 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #403295
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403295#FFFFFF#000000##FFFFFF
##4032951.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004698
Deuteranopia (green-blind)
#003F93
Tritanopia (blue-blind)
#164B5F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #403295;
/* rgb */ color: rgb(64, 50, 149);
/* oklch */ color: oklch(39.6% 0.155 283.2);
Tailwind
colors: {
  custom: {
    50: '#7e6bb5',
    500: '#403295',
    950: '#000000',
  },
}
SCSS
$custom: #403295;
$custom-light: #7e6bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#403295",
  "rgb": {
    "r": 64,
    "g": 50,
    "b": 149
  },
  "hsl": {
    "h": 248.485,
    "s": 49.749,
    "l": 39.02
  },
  "oklch": {
    "l": 0.39586,
    "c": 0.15495,
    "h": 283.2
  },
  "luminance": 0.05541
}

Semantic roles & 50–950 ramp

primary
#403295
secondary
#ADB86B
accent
#D94FC6
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #403295

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

Preview Lab → · Contrast checker → · Palette generator →

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