#413793#413793

#413793 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.4% C 0.145 H 282.6°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#413793
RGBrgb(65, 55, 147)
HSLhsl(247, 46%, 40%)
HSVhsv(247, 63%, 58%)
CMYKcmyk(55.8%, 62.6%, 0%, 42.4%)
CIE-LABlab(29.32, 30.96, -49.48)
CIE-LCHlch(29.32, 58.37, 302.03°)
OKLaboklab(40.35% 0.0318 -0.142)
OKLCHoklch(40.35% 0.146 282.6)
XYZxyz(8.8110, 5.9623, 28.2847)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413793 #899337
analogous
#375B93 #413793 #6F3793
triadic
#413793 #934137 #379341
tetradic
#413793 #93375B #899337 #37936F
square
#413793 #93375B #899337 #37936F
split-complementary
#413793 #936F37 #5B9337
monochromatic
#1A163A #2D2666 #413793 #584BBC #8178CC

Accessibility & contrast

On white

9.58
#413793 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#413793 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413793
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413793#FFFFFF#000000##FFFFFF
##4137931.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004896
Deuteranopia (green-blind)
#004291
Tritanopia (blue-blind)
#1B4D5F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #413793;
/* rgb */ color: rgb(65, 55, 147);
/* oklch */ color: oklch(40.4% 0.145 282.6);
Tailwind
colors: {
  custom: {
    50: '#7e6eb3',
    500: '#413793',
    950: '#000000',
  },
}
SCSS
$custom: #413793;
$custom-light: #7e6eb3;
$custom-dark: #000000;
JSON
{
  "hex": "#413793",
  "rgb": {
    "r": 65,
    "g": 55,
    "b": 147
  },
  "hsl": {
    "h": 246.522,
    "s": 45.545,
    "l": 39.608
  },
  "oklch": {
    "l": 0.40354,
    "c": 0.1455,
    "h": 282.6
  },
  "luminance": 0.05963
}

Semantic roles & 50–950 ramp

primary
#413793
secondary
#AEB570
accent
#D553C7
background
#F8F6FB
surface
#EFECF6
border
#CAC7D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #413793

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

Preview Lab → · Contrast checker → · Palette generator →

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