#403597#403597

#403597 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.3% C 0.154 H 282.1°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#403597
RGBrgb(64, 53, 151)
HSLhsl(247, 48%, 40%)
HSVhsv(247, 65%, 59%)
CMYKcmyk(57.6%, 64.9%, 0%, 40.8%)
CIE-LABlab(29.08, 33.34, -52.32)
CIE-LCHlch(29.08, 62.04, 302.51°)
OKLaboklab(40.26% 0.0322 -0.1504)
OKLCHoklch(40.26% 0.154 282.1)
XYZxyz(8.9716, 5.8700, 29.9324)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403597 #8C9735
analogous
#355B97 #403597 #713597
triadic
#403597 #974035 #359740
tetradic
#403597 #97355B #8C9735 #359771
square
#403597 #97355B #8C9735 #359771
split-complementary
#403597 #977135 #5B9735
monochromatic
#1A153C #2D256A #403597 #574ABF #8177CF

Accessibility & contrast

On white

9.66
#403597 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#403597 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403597
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403597#FFFFFF#000000##FFFFFF
##4035971.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489A
Deuteranopia (green-blind)
#004195
Tritanopia (blue-blind)
#134D61
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #403597;
/* rgb */ color: rgb(64, 53, 151);
/* oklch */ color: oklch(40.3% 0.154 282.1);
Tailwind
colors: {
  custom: {
    50: '#7e6db6',
    500: '#403597',
    950: '#000000',
  },
}
SCSS
$custom: #403597;
$custom-light: #7e6db6;
$custom-dark: #000000;
JSON
{
  "hex": "#403597",
  "rgb": {
    "r": 64,
    "g": 53,
    "b": 151
  },
  "hsl": {
    "h": 246.735,
    "s": 48.039,
    "l": 40
  },
  "oklch": {
    "l": 0.40263,
    "c": 0.15376,
    "h": 282.1
  },
  "luminance": 0.05871
}

Semantic roles & 50–950 ramp

primary
#403597
secondary
#B0B870
accent
#D850C8
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0711
muted
#7C7A80

Preview Lab

Preview with #403597

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

Preview Lab → · Contrast checker → · Palette generator →

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