#413C81#413C81

#413C81 is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.9% C 0.112 H 283.3°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#413C81
RGBrgb(65, 60, 129)
HSLhsl(244, 37%, 37%)
HSVhsv(244, 53%, 51%)
CMYKcmyk(49.6%, 53.5%, 0%, 49.4%)
CIE-LABlab(29.26, 21.79, -38.43)
CIE-LCHlch(29.26, 44.18, 299.55°)
OKLaboklab(39.89% 0.0259 -0.1095)
OKLCHoklch(39.89% 0.112 283.3)
XYZxyz(7.7571, 5.9401, 21.5024)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413C81 #7C813C
analogous
#3C5A81 #413C81 #643C81
triadic
#413C81 #81413C #3C8141
tetradic
#413C81 #813C5A #7C813C #3C8164
square
#413C81 #813C5A #7C813C #3C8164
split-complementary
#413C81 #81643C #5A813C
monochromatic
#17152D #2C2957 #413C81 #564FAB #7D77C0

Accessibility & contrast

On white

9.60
#413C81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #413C81
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413C81#FFFFFF#000000##FFFFFF
##413C811.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4783
Deuteranopia (green-blind)
#16437F
Tritanopia (blue-blind)
#2B4B58
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #413c81;
/* rgb */ color: rgb(65, 60, 129);
/* oklch */ color: oklch(39.9% 0.112 283.3);
Tailwind
colors: {
  custom: {
    50: '#7a71a6',
    500: '#413c81',
    950: '#000000',
  },
}
SCSS
$custom: #413c81;
$custom-light: #7a71a6;
$custom-dark: #000000;
JSON
{
  "hex": "#413c81",
  "rgb": {
    "r": 65,
    "g": 60,
    "b": 129
  },
  "hsl": {
    "h": 244.348,
    "s": 36.508,
    "l": 37.059
  },
  "oklch": {
    "l": 0.39892,
    "c": 0.11248,
    "h": 283.3
  },
  "luminance": 0.05941
}

Semantic roles & 50–950 ramp

primary
#413C81
secondary
#A5AA6F
accent
#CD5BC4
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#0A070F
muted
#7C7A7F

Preview Lab

Preview with #413C81

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

Preview Lab → · Contrast checker → · Palette generator →

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