#413D87#413D87

#413D87 is a dark, moderate blue. Relative luminance 0.062; OKLCH L 40.5% C 0.120 H 282.1°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#413D87
RGBrgb(65, 61, 135)
HSLhsl(243, 38%, 38%)
HSVhsv(243, 55%, 53%)
CMYKcmyk(51.9%, 54.8%, 0%, 47.1%)
CIE-LABlab(29.94, 23.12, -41.08)
CIE-LCHlch(29.94, 47.13, 299.37°)
OKLaboklab(40.53% 0.0251 -0.1172)
OKLCHoklch(40.53% 0.12 282.1)
XYZxyz(8.2206, 6.2101, 23.6825)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413D87 #83873D
analogous
#3D5E87 #413D87 #663D87
triadic
#413D87 #87413D #3D8741
tetradic
#413D87 #873D5E #83873D #3D8766
square
#413D87 #873D5E #83873D #3D8766
split-complementary
#413D87 #87663D #5E873D
monochromatic
#181733 #2D2A5D #413D87 #5651B0 #7F7BC3

Accessibility & contrast

On white

9.37
#413D87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#413D87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413D87
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413D87#FFFFFF#000000##FFFFFF
##413D871.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15498A
Deuteranopia (green-blind)
#0E4485
Tritanopia (blue-blind)
#264D5C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #413d87;
/* rgb */ color: rgb(65, 61, 135);
/* oklch */ color: oklch(40.5% 0.120 282.1);
Tailwind
colors: {
  custom: {
    50: '#7b72aa',
    500: '#413d87',
    950: '#000000',
  },
}
SCSS
$custom: #413d87;
$custom-light: #7b72aa;
$custom-dark: #000000;
JSON
{
  "hex": "#413d87",
  "rgb": {
    "r": 65,
    "g": 61,
    "b": 135
  },
  "hsl": {
    "h": 243.243,
    "s": 37.755,
    "l": 38.431
  },
  "oklch": {
    "l": 0.40529,
    "c": 0.11988,
    "h": 282.1
  },
  "luminance": 0.06211
}

Semantic roles & 50–950 ramp

primary
#413D87
secondary
#AAAD73
accent
#CE5AC7
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#0A0810
muted
#7C7B7F

Preview Lab

Preview with #413D87

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

Preview Lab → · Contrast checker → · Palette generator →

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