#403292#403292

#403292 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.3% C 0.151 H 283.6°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#403292
RGBrgb(64, 50, 146)
HSLhsl(249, 49%, 38%)
HSVhsv(249, 66%, 57%)
CMYKcmyk(56.2%, 65.8%, 0%, 42.7%)
CIE-LABlab(27.97, 33.56, -51.06)
CIE-LCHlch(27.97, 61.10, 303.31°)
OKLaboklab(39.32% 0.0356 -0.1467)
OKLCHoklch(39.32% 0.151 283.6)
XYZxyz(8.4417, 5.4460, 27.7949)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403292 #849232
analogous
#325492 #403292 #703292
triadic
#403292 #924032 #329240
tetradic
#403292 #923254 #849232 #329270
square
#403292 #923254 #849232 #329270
split-complementary
#403292 #927032 #549232
monochromatic
#181337 #2C2264 #403292 #5543BF #7E70CE

Accessibility & contrast

On white

10.05
#403292 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#403292 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403292
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403292#FFFFFF#000000##FFFFFF
##4032921.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004595
Deuteranopia (green-blind)
#003F90
Tritanopia (blue-blind)
#1A4A5D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #403292;
/* rgb */ color: rgb(64, 50, 146);
/* oklch */ color: oklch(39.3% 0.151 283.6);
Tailwind
colors: {
  custom: {
    50: '#7d6bb3',
    500: '#403292',
    950: '#000000',
  },
}
SCSS
$custom: #403292;
$custom-light: #7d6bb3;
$custom-dark: #000000;
JSON
{
  "hex": "#403292",
  "rgb": {
    "r": 64,
    "g": 50,
    "b": 146
  },
  "hsl": {
    "h": 248.75,
    "s": 48.98,
    "l": 38.431
  },
  "oklch": {
    "l": 0.39324,
    "c": 0.15094,
    "h": 283.6
  },
  "luminance": 0.05447
}

Semantic roles & 50–950 ramp

primary
#403292
secondary
#ABB66A
accent
#D94FC5
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #403292

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

Preview Lab → · Contrast checker → · Palette generator →

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