#403290#403290

#403290 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.1% C 0.148 H 284.0°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#403290
RGBrgb(64, 50, 144)
HSLhsl(249, 48%, 38%)
HSVhsv(249, 65%, 56%)
CMYKcmyk(55.6%, 65.3%, 0%, 43.5%)
CIE-LABlab(27.80, 32.91, -50.10)
CIE-LCHlch(27.80, 59.94, 303.30°)
OKLaboklab(39.15% 0.0358 -0.1439)
OKLCHoklch(39.15% 0.148 284)
XYZxyz(8.2875, 5.3843, 26.9827)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403290 #829032
analogous
#325390 #403290 #6F3290
triadic
#403290 #904032 #329040
tetradic
#403290 #903253 #829032 #32906F
square
#403290 #903253 #829032 #32906F
split-complementary
#403290 #906F32 #539032
monochromatic
#181235 #2C2263 #403290 #5442BD #7D6FCD

Accessibility & contrast

On white

10.11
#403290 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#403290 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403290
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403290#FFFFFF#000000##FFFFFF
##4032901.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004493
Deuteranopia (green-blind)
#003F8E
Tritanopia (blue-blind)
#1D495C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #403290;
/* rgb */ color: rgb(64, 50, 144);
/* oklch */ color: oklch(39.1% 0.148 284.0);
Tailwind
colors: {
  custom: {
    50: '#7d6bb1',
    500: '#403290',
    950: '#000000',
  },
}
SCSS
$custom: #403290;
$custom-light: #7d6bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#403290",
  "rgb": {
    "r": 64,
    "g": 50,
    "b": 144
  },
  "hsl": {
    "h": 248.936,
    "s": 48.454,
    "l": 38.039
  },
  "oklch": {
    "l": 0.3915,
    "c": 0.14825,
    "h": 284
  },
  "luminance": 0.05385
}

Semantic roles & 50–950 ramp

primary
#403290
secondary
#AAB569
accent
#D850C4
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #403290

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

Preview Lab → · Contrast checker → · Palette generator →

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