#413F87#413F87

#413F87 is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.9% C 0.117 H 281.2°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#413F87
RGBrgb(65, 63, 135)
HSLhsl(242, 36%, 39%)
HSVhsv(242, 53%, 53%)
CMYKcmyk(51.9%, 53.3%, 0%, 47.1%)
CIE-LABlab(30.47, 21.80, -40.22)
CIE-LCHlch(30.47, 45.75, 298.46°)
OKLaboklab(40.93% 0.0226 -0.1147)
OKLCHoklch(40.93% 0.117 281.2)
XYZxyz(8.3293, 6.4276, 23.7187)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413F87 #85873F
analogous
#3F6187 #413F87 #653F87
triadic
#413F87 #87413F #3F8741
tetradic
#413F87 #873F61 #85873F #3F8765
square
#413F87 #873F61 #85873F #3F8765
split-complementary
#413F87 #87653F #61873F
monochromatic
#191834 #2D2C5D #413F87 #5754AF #807EC3

Accessibility & contrast

On white

9.19
#413F87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#413F87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413F87
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413F87#FFFFFF#000000##FFFFFF
##413F871.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4A8A
Deuteranopia (green-blind)
#144585
Tritanopia (blue-blind)
#264F5D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #413f87;
/* rgb */ color: rgb(65, 63, 135);
/* oklch */ color: oklch(40.9% 0.117 281.2);
Tailwind
colors: {
  custom: {
    50: '#7b74aa',
    500: '#413f87',
    950: '#000000',
  },
}
SCSS
$custom: #413f87;
$custom-light: #7b74aa;
$custom-dark: #000000;
JSON
{
  "hex": "#413f87",
  "rgb": {
    "r": 65,
    "g": 63,
    "b": 135
  },
  "hsl": {
    "h": 241.667,
    "s": 36.364,
    "l": 38.824
  },
  "oklch": {
    "l": 0.40926,
    "c": 0.11692,
    "h": 281.2
  },
  "luminance": 0.06428
}

Semantic roles & 50–950 ramp

primary
#413F87
secondary
#ABAD75
accent
#CC5BC9
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#0A0810
muted
#7C7B7F

Preview Lab

Preview with #413F87

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

Preview Lab → · Contrast checker → · Palette generator →

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