#403288#403288

#403288 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.5% C 0.137 H 285.4°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#403288
RGBrgb(64, 50, 136)
HSLhsl(250, 46%, 36%)
HSVhsv(250, 63%, 53%)
CMYKcmyk(52.9%, 63.2%, 0%, 46.7%)
CIE-LABlab(27.15, 30.32, -46.20)
CIE-LCHlch(27.15, 55.26, 303.27°)
OKLaboklab(38.47% 0.0365 -0.1324)
OKLCHoklch(38.47% 0.137 285.4)
XYZxyz(7.6976, 5.1484, 23.8759)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403288 #7A8832
analogous
#324F88 #403288 #6B3288
triadic
#403288 #884032 #328840
tetradic
#403288 #88324F #7A8832 #32886B
square
#403288 #88324F #7A8832 #32886B
split-complementary
#403288 #886B32 #4F8832
monochromatic
#16112F #2B225B #403288 #5542B5 #7B6CC9

Accessibility & contrast

On white

10.35
#403288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#403288 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403288
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403288#FFFFFF#000000##FFFFFF
##4032881.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438B
Deuteranopia (green-blind)
#003E86
Tritanopia (blue-blind)
#244658
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #403288;
/* rgb */ color: rgb(64, 50, 136);
/* oklch */ color: oklch(38.5% 0.137 285.4);
Tailwind
colors: {
  custom: {
    50: '#7c6aab',
    500: '#403288',
    950: '#000000',
  },
}
SCSS
$custom: #403288;
$custom-light: #7c6aab;
$custom-dark: #000000;
JSON
{
  "hex": "#403288",
  "rgb": {
    "r": 64,
    "g": 50,
    "b": 136
  },
  "hsl": {
    "h": 249.767,
    "s": 46.237,
    "l": 36.471
  },
  "oklch": {
    "l": 0.38473,
    "c": 0.13733,
    "h": 285.4
  },
  "luminance": 0.05149
}

Semantic roles & 50–950 ramp

primary
#403288
secondary
#A4B065
accent
#D652C0
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #403288

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

Preview Lab → · Contrast checker → · Palette generator →

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