#403683#403683

#403683 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.8% C 0.125 H 284.9°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#403683
RGBrgb(64, 54, 131)
HSLhsl(248, 42%, 36%)
HSVhsv(248, 59%, 51%)
CMYKcmyk(51.1%, 58.8%, 0%, 48.6%)
CIE-LABlab(27.75, 26.14, -42.11)
CIE-LCHlch(27.75, 49.56, 301.83°)
OKLaboklab(38.79% 0.032 -0.1203)
OKLCHoklch(38.79% 0.125 284.9)
XYZxyz(7.5290, 5.3666, 22.1075)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403683 #798336
analogous
#365383 #403683 #673683
triadic
#403683 #834036 #368340
tetradic
#403683 #833653 #798336 #368367
square
#403683 #833653 #798336 #368367
split-complementary
#403683 #836736 #538336
monochromatic
#16122C #2B2458 #403683 #5548AE #7A70C4

Accessibility & contrast

On white

10.13
#403683 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#403683 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403683
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403683#FFFFFF#000000##FFFFFF
##4036831.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004486
Deuteranopia (green-blind)
#003F81
Tritanopia (blue-blind)
#284757
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #403683;
/* rgb */ color: rgb(64, 54, 131);
/* oklch */ color: oklch(38.8% 0.125 284.9);
Tailwind
colors: {
  custom: {
    50: '#7a6da8',
    500: '#403683',
    950: '#000000',
  },
}
SCSS
$custom: #403683;
$custom-light: #7a6da8;
$custom-dark: #000000;
JSON
{
  "hex": "#403683",
  "rgb": {
    "r": 64,
    "g": 54,
    "b": 131
  },
  "hsl": {
    "h": 247.792,
    "s": 41.622,
    "l": 36.275
  },
  "oklch": {
    "l": 0.38794,
    "c": 0.12454,
    "h": 284.9
  },
  "luminance": 0.05367
}

Semantic roles & 50–950 ramp

primary
#403683
secondary
#A4AC68
accent
#D156C1
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0710
muted
#7C7A7F

Preview Lab

Preview with #403683

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

Preview Lab → · Contrast checker → · Palette generator →

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