#413E87#413E87

#413E87 is a dark, moderate blue. Relative luminance 0.063; OKLCH L 40.7% C 0.118 H 281.6°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#413E87
RGBrgb(65, 62, 135)
HSLhsl(242, 37%, 39%)
HSVhsv(242, 54%, 53%)
CMYKcmyk(51.9%, 54.1%, 0%, 47.1%)
CIE-LABlab(30.20, 22.46, -40.65)
CIE-LCHlch(30.20, 46.44, 298.92°)
OKLaboklab(40.73% 0.0238 -0.116)
OKLCHoklch(40.73% 0.118 281.6)
XYZxyz(8.2744, 6.3179, 23.7004)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413E87 #84873E
analogous
#3E5F87 #413E87 #653E87
triadic
#413E87 #87413E #3E8741
tetradic
#413E87 #873E5F #84873E #3E8765
square
#413E87 #873E5F #84873E #3E8765
split-complementary
#413E87 #87653E #5F873E
monochromatic
#191733 #2D2B5D #413E87 #5652B0 #7F7CC3

Accessibility & contrast

On white

9.28
#413E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#413E87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413E87
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413E87#FFFFFF#000000##FFFFFF
##413E871.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184A8A
Deuteranopia (green-blind)
#114585
Tritanopia (blue-blind)
#264E5C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #413e87;
/* rgb */ color: rgb(65, 62, 135);
/* oklch */ color: oklch(40.7% 0.118 281.6);
Tailwind
colors: {
  custom: {
    50: '#7b73aa',
    500: '#413e87',
    950: '#000000',
  },
}
SCSS
$custom: #413e87;
$custom-light: #7b73aa;
$custom-dark: #000000;
JSON
{
  "hex": "#413e87",
  "rgb": {
    "r": 65,
    "g": 62,
    "b": 135
  },
  "hsl": {
    "h": 242.466,
    "s": 37.056,
    "l": 38.627
  },
  "oklch": {
    "l": 0.40726,
    "c": 0.1184,
    "h": 281.6
  },
  "luminance": 0.06318
}

Semantic roles & 50–950 ramp

primary
#413E87
secondary
#ABAD74
accent
#CD5BC8
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#0A0810
muted
#7C7B7F

Preview Lab

Preview with #413E87

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

Preview Lab → · Contrast checker → · Palette generator →

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