#413F82#413F82

#413F82 is a dark, moderate blue. Relative luminance 0.063; OKLCH L 40.6% C 0.109 H 281.7°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#413F82
RGBrgb(65, 63, 130)
HSLhsl(242, 35%, 38%)
HSVhsv(242, 52%, 51%)
CMYKcmyk(50%, 51.5%, 0%, 49%)
CIE-LABlab(30.13, 20.14, -37.66)
CIE-LCHlch(30.13, 42.70, 298.14°)
OKLaboklab(40.57% 0.0222 -0.1072)
OKLCHoklch(40.57% 0.109 281.7)
XYZxyz(7.9855, 6.2901, 21.9081)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413F82 #80823F
analogous
#3F5E82 #413F82 #623F82
triadic
#413F82 #82413F #3F8241
tetradic
#413F82 #823F5E #80823F #3F8262
square
#413F82 #823F5E #80823F #3F8262
split-complementary
#413F82 #82623F #5E823F
monochromatic
#181730 #2C2B59 #413F82 #5653AB #7E7CBF

Accessibility & contrast

On white

9.30
#413F82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#413F82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413F82
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413F82#FFFFFF#000000##FFFFFF
##413F821.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204984
Deuteranopia (green-blind)
#1C4581
Tritanopia (blue-blind)
#294D5A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #413f82;
/* rgb */ color: rgb(65, 63, 130);
/* oklch */ color: oklch(40.6% 0.109 281.7);
Tailwind
colors: {
  custom: {
    50: '#7a74a7',
    500: '#413f82',
    950: '#000000',
  },
}
SCSS
$custom: #413f82;
$custom-light: #7a74a7;
$custom-dark: #000000;
JSON
{
  "hex": "#413f82",
  "rgb": {
    "r": 65,
    "g": 63,
    "b": 130
  },
  "hsl": {
    "h": 241.791,
    "s": 34.715,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40568,
    "c": 0.10943,
    "h": 281.7
  },
  "luminance": 0.06291
}

Semantic roles & 50–950 ramp

primary
#413F82
secondary
#A8AA73
accent
#CB5DC8
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#0A080F
muted
#7C7B7F

Preview Lab

Preview with #413F82

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

Preview Lab → · Contrast checker → · Palette generator →

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