#413B87#413B87

#413B87 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.1% C 0.123 H 282.9°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#413B87
RGBrgb(65, 59, 135)
HSLhsl(245, 39%, 38%)
HSVhsv(245, 56%, 53%)
CMYKcmyk(51.9%, 56.3%, 0%, 47.1%)
CIE-LABlab(29.41, 24.42, -41.92)
CIE-LCHlch(29.41, 48.52, 300.23°)
OKLaboklab(40.14% 0.0275 -0.1197)
OKLCHoklch(40.14% 0.123 282.9)
XYZxyz(8.1158, 6.0006, 23.6476)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413B87 #81873B
analogous
#3B5B87 #413B87 #673B87
triadic
#413B87 #87413B #3B8741
tetradic
#413B87 #873B5B #81873B #3B8767
square
#413B87 #873B5B #81873B #3B8767
split-complementary
#413B87 #87673B #5B873B
monochromatic
#181632 #2C285C #413B87 #564EB2 #7E78C4

Accessibility & contrast

On white

9.54
#413B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#413B87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413B87
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413B87#FFFFFF#000000##FFFFFF
##413B871.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E488A
Deuteranopia (green-blind)
#064385
Tritanopia (blue-blind)
#264C5B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #413b87;
/* rgb */ color: rgb(65, 59, 135);
/* oklch */ color: oklch(40.1% 0.123 282.9);
Tailwind
colors: {
  custom: {
    50: '#7b71aa',
    500: '#413b87',
    950: '#000000',
  },
}
SCSS
$custom: #413b87;
$custom-light: #7b71aa;
$custom-dark: #000000;
JSON
{
  "hex": "#413b87",
  "rgb": {
    "r": 65,
    "g": 59,
    "b": 135
  },
  "hsl": {
    "h": 244.737,
    "s": 39.175,
    "l": 38.039
  },
  "oklch": {
    "l": 0.40139,
    "c": 0.12283,
    "h": 282.9
  },
  "luminance": 0.06001
}

Semantic roles & 50–950 ramp

primary
#413B87
secondary
#A9AE70
accent
#CF59C6
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#0A0710
muted
#7C7A7F

Preview Lab

Preview with #413B87

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

Preview Lab → · Contrast checker → · Palette generator →

#413B87 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva