#413D7F#413D7F

#413D7F is a dark, moderate blue. Relative luminance 0.060; OKLCH L 40.0% C 0.108 H 283.1°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#413D7F
RGBrgb(65, 61, 127)
HSLhsl(244, 35%, 37%)
HSVhsv(244, 52%, 50%)
CMYKcmyk(48.8%, 52%, 0%, 50.2%)
CIE-LABlab(29.40, 20.48, -36.97)
CIE-LCHlch(29.40, 42.26, 298.98°)
OKLaboklab(39.95% 0.0245 -0.1051)
OKLCHoklch(39.95% 0.108 283.1)
XYZxyz(7.6783, 5.9932, 20.8268)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413D7F #7B7F3D
analogous
#3D5A7F #413D7F #623D7F
triadic
#413D7F #7F413D #3D7F41
tetradic
#413D7F #7F3D5A #7B7F3D #3D7F62
square
#413D7F #7F3D5A #7B7F3D #3D7F62
split-complementary
#413D7F #7F623D #5A7F3D
monochromatic
#17152C #2C2956 #413D7F #5651A8 #7C78BE

Accessibility & contrast

On white

9.55
#413D7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #413D7F
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413D7F#FFFFFF#000000##FFFFFF
##413D7F1.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4781
Deuteranopia (green-blind)
#1B437E
Tritanopia (blue-blind)
#2C4B58
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #413d7f;
/* rgb */ color: rgb(65, 61, 127);
/* oklch */ color: oklch(40.0% 0.108 283.1);
Tailwind
colors: {
  custom: {
    50: '#7a72a4',
    500: '#413d7f',
    950: '#000000',
  },
}
SCSS
$custom: #413d7f;
$custom-light: #7a72a4;
$custom-dark: #000000;
JSON
{
  "hex": "#413d7f",
  "rgb": {
    "r": 65,
    "g": 61,
    "b": 127
  },
  "hsl": {
    "h": 243.636,
    "s": 35.106,
    "l": 36.863
  },
  "oklch": {
    "l": 0.3995,
    "c": 0.10796,
    "h": 283.1
  },
  "luminance": 0.05994
}

Semantic roles & 50–950 ramp

primary
#413D7F
secondary
#A5A870
accent
#CB5DC4
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#09080F
muted
#7B7B7F

Preview Lab

Preview with #413D7F

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

Preview Lab → · Contrast checker → · Palette generator →

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