#413A82#413A82

#413A82 is a dark, moderate blue. Relative luminance 0.058; OKLCH L 39.6% C 0.117 H 284.1°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#413A82
RGBrgb(65, 58, 130)
HSLhsl(246, 38%, 37%)
HSVhsv(246, 55%, 51%)
CMYKcmyk(50%, 55.4%, 0%, 49%)
CIE-LABlab(28.80, 23.43, -39.79)
CIE-LCHlch(28.80, 46.18, 300.49°)
OKLaboklab(39.57% 0.0285 -0.1135)
OKLCHoklch(39.57% 0.117 284.1)
XYZxyz(7.7211, 5.7613, 21.8200)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413A82 #7B823A
analogous
#3A5782 #413A82 #653A82
triadic
#413A82 #82413A #3A8241
tetradic
#413A82 #823A57 #7B823A #3A8265
square
#413A82 #823A57 #7B823A #3A8265
split-complementary
#413A82 #82653A #57823A
monochromatic
#17142D #2C2758 #413A82 #564DAC #7C75C1

Accessibility & contrast

On white

9.76
#413A82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#413A82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413A82
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413A82#FFFFFF#000000##FFFFFF
##413A821.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144684
Deuteranopia (green-blind)
#0F4280
Tritanopia (blue-blind)
#2A4A58
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #413a82;
/* rgb */ color: rgb(65, 58, 130);
/* oklch */ color: oklch(39.6% 0.117 284.1);
Tailwind
colors: {
  custom: {
    50: '#7b70a7',
    500: '#413a82',
    950: '#000000',
  },
}
SCSS
$custom: #413a82;
$custom-light: #7b70a7;
$custom-dark: #000000;
JSON
{
  "hex": "#413a82",
  "rgb": {
    "r": 65,
    "g": 58,
    "b": 130
  },
  "hsl": {
    "h": 245.833,
    "s": 38.298,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39571,
    "c": 0.117,
    "h": 284.1
  },
  "luminance": 0.05762
}

Semantic roles & 50–950 ramp

primary
#413A82
secondary
#A5AB6D
accent
#CE5AC3
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#0A070F
muted
#7C7A7F

Preview Lab

Preview with #413A82

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

Preview Lab → · Contrast checker → · Palette generator →

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