#413497#413497

#413497 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.2% C 0.155 H 282.9°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#413497
RGBrgb(65, 52, 151)
HSLhsl(248, 49%, 40%)
HSVhsv(248, 66%, 59%)
CMYKcmyk(57%, 65.6%, 0%, 40.8%)
CIE-LABlab(28.94, 34.14, -52.55)
CIE-LCHlch(28.94, 62.66, 303.01°)
OKLaboklab(40.18% 0.0345 -0.151)
OKLCHoklch(40.18% 0.155 282.9)
XYZxyz(8.9922, 5.8136, 29.9205)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413497 #8A9734
analogous
#345897 #413497 #733497
triadic
#413497 #974134 #349741
tetradic
#413497 #973458 #8A9734 #349773
square
#413497 #973458 #8A9734 #349773
split-complementary
#413497 #977334 #589734
monochromatic
#1A153C #2D2469 #413497 #5848C0 #8276D0

Accessibility & contrast

On white

9.71
#413497 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#413497 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413497
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413497#FFFFFF#000000##FFFFFF
##4134971.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479A
Deuteranopia (green-blind)
#004195
Tritanopia (blue-blind)
#174D60
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #413497;
/* rgb */ color: rgb(65, 52, 151);
/* oklch */ color: oklch(40.2% 0.155 282.9);
Tailwind
colors: {
  custom: {
    50: '#7e6cb6',
    500: '#413497',
    950: '#000000',
  },
}
SCSS
$custom: #413497;
$custom-light: #7e6cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#413497",
  "rgb": {
    "r": 65,
    "g": 52,
    "b": 151
  },
  "hsl": {
    "h": 247.879,
    "s": 48.768,
    "l": 39.804
  },
  "oklch": {
    "l": 0.40179,
    "c": 0.1549,
    "h": 282.9
  },
  "luminance": 0.05814
}

Semantic roles & 50–950 ramp

primary
#413497
secondary
#AEB86F
accent
#D84FC6
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0711
muted
#7C7A80

Preview Lab

Preview with #413497

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

Preview Lab → · Contrast checker → · Palette generator →

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