#413C87#413C87

#413C87 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.3% C 0.121 H 282.5°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#413C87
RGBrgb(65, 60, 135)
HSLhsl(244, 38%, 38%)
HSVhsv(244, 56%, 53%)
CMYKcmyk(51.9%, 55.6%, 0%, 47.1%)
CIE-LABlab(29.67, 23.77, -41.50)
CIE-LCHlch(29.67, 47.83, 299.80°)
OKLaboklab(40.33% 0.0263 -0.1185)
OKLCHoklch(40.33% 0.121 282.5)
XYZxyz(8.1677, 6.1044, 23.6649)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413C87 #82873C
analogous
#3C5C87 #413C87 #663C87
triadic
#413C87 #87413C #3C8741
tetradic
#413C87 #873C5C #82873C #3C8766
square
#413C87 #873C5C #82873C #3C8766
split-complementary
#413C87 #87663C #5C873C
monochromatic
#181632 #2D295D #413C87 #564FB1 #7F7AC4

Accessibility & contrast

On white

9.46
#413C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#413C87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413C87
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413C87#FFFFFF#000000##FFFFFF
##413C871.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12488A
Deuteranopia (green-blind)
#0A4385
Tritanopia (blue-blind)
#264D5B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #413c87;
/* rgb */ color: rgb(65, 60, 135);
/* oklch */ color: oklch(40.3% 0.121 282.5);
Tailwind
colors: {
  custom: {
    50: '#7b72aa',
    500: '#413c87',
    950: '#000000',
  },
}
SCSS
$custom: #413c87;
$custom-light: #7b72aa;
$custom-dark: #000000;
JSON
{
  "hex": "#413c87",
  "rgb": {
    "r": 65,
    "g": 60,
    "b": 135
  },
  "hsl": {
    "h": 244,
    "s": 38.462,
    "l": 38.235
  },
  "oklch": {
    "l": 0.40333,
    "c": 0.12136,
    "h": 282.5
  },
  "luminance": 0.06105
}

Semantic roles & 50–950 ramp

primary
#413C87
secondary
#A9AD71
accent
#CE59C7
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#0A0710
muted
#7C7A7F

Preview Lab

Preview with #413C87

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

Preview Lab → · Contrast checker → · Palette generator →

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