#413C82#413C82

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

Color values

HEX#413C82
RGBrgb(65, 60, 130)
HSLhsl(244, 37%, 37%)
HSVhsv(244, 54%, 51%)
CMYKcmyk(50%, 53.8%, 0%, 49%)
CIE-LABlab(29.33, 22.12, -38.95)
CIE-LCHlch(29.33, 44.79, 299.60°)
OKLaboklab(39.96% 0.026 -0.111)
OKLCHoklch(39.96% 0.114 283.2)
XYZxyz(7.8239, 5.9669, 21.8542)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413C82 #7D823C
analogous
#3C5A82 #413C82 #643C82
triadic
#413C82 #82413C #3C8241
tetradic
#413C82 #823C5A #7D823C #3C8264
square
#413C82 #823C5A #7D823C #3C8264
split-complementary
#413C82 #82643C #5A823C
monochromatic
#17152E #2C2958 #413C82 #564FAC #7D78C1

Accessibility & contrast

On white

9.57
#413C82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#413C82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413C82
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413C82#FFFFFF#000000##FFFFFF
##413C821.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194784
Deuteranopia (green-blind)
#154380
Tritanopia (blue-blind)
#2A4B59
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #413c82;
/* rgb */ color: rgb(65, 60, 130);
/* oklch */ color: oklch(40.0% 0.114 283.2);
Tailwind
colors: {
  custom: {
    50: '#7a71a7',
    500: '#413c82',
    950: '#000000',
  },
}
SCSS
$custom: #413c82;
$custom-light: #7a71a7;
$custom-dark: #000000;
JSON
{
  "hex": "#413c82",
  "rgb": {
    "r": 65,
    "g": 60,
    "b": 130
  },
  "hsl": {
    "h": 244.286,
    "s": 36.842,
    "l": 37.255
  },
  "oklch": {
    "l": 0.39964,
    "c": 0.11397,
    "h": 283.2
  },
  "luminance": 0.05967
}

Semantic roles & 50–950 ramp

primary
#413C82
secondary
#A6AA6F
accent
#CD5BC5
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#0A070F
muted
#7C7A7F

Preview Lab

Preview with #413C82

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

Preview Lab → · Contrast checker → · Palette generator →

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