#413495#413495

#413495 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.0% C 0.152 H 283.2°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#413495
RGBrgb(65, 52, 149)
HSLhsl(248, 48%, 39%)
HSVhsv(248, 65%, 58%)
CMYKcmyk(56.4%, 65.1%, 0%, 41.6%)
CIE-LABlab(28.77, 33.48, -51.60)
CIE-LCHlch(28.77, 61.51, 302.98°)
OKLaboklab(40.01% 0.0347 -0.1482)
OKLCHoklch(40.01% 0.152 283.2)
XYZxyz(8.8311, 5.7492, 29.0723)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413495 #889534
analogous
#345895 #413495 #723495
triadic
#413495 #954134 #349541
tetradic
#413495 #953458 #889534 #349572
square
#413495 #953458 #889534 #349572
split-complementary
#413495 #957234 #589534
monochromatic
#19143A #2D2468 #413495 #5747BF #8175CF

Accessibility & contrast

On white

9.77
#413495 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#413495 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413495
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413495#FFFFFF#000000##FFFFFF
##4134951.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004798
Deuteranopia (green-blind)
#004193
Tritanopia (blue-blind)
#194C5F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #413495;
/* rgb */ color: rgb(65, 52, 149);
/* oklch */ color: oklch(40.0% 0.152 283.2);
Tailwind
colors: {
  custom: {
    50: '#7e6cb5',
    500: '#413495',
    950: '#000000',
  },
}
SCSS
$custom: #413495;
$custom-light: #7e6cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#413495",
  "rgb": {
    "r": 65,
    "g": 52,
    "b": 149
  },
  "hsl": {
    "h": 248.041,
    "s": 48.259,
    "l": 39.412
  },
  "oklch": {
    "l": 0.40006,
    "c": 0.15222,
    "h": 283.2
  },
  "luminance": 0.0575
}

Semantic roles & 50–950 ramp

primary
#413495
secondary
#ADB76E
accent
#D850C6
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0711
muted
#7C7A80

Preview Lab

Preview with #413495

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

Preview Lab → · Contrast checker → · Palette generator →

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