#413B79#413B79

#413B79 is a dark, moderate blue. Relative luminance 0.056; OKLCH L 39.1% C 0.102 H 285.1°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#413B79
RGBrgb(65, 59, 121)
HSLhsl(246, 34%, 35%)
HSVhsv(246, 51%, 47%)
CMYKcmyk(46.3%, 51.2%, 0%, 52.5%)
CIE-LABlab(28.46, 19.85, -34.69)
CIE-LCHlch(28.46, 39.97, 299.77°)
OKLaboklab(39.12% 0.0265 -0.0985)
OKLCHoklch(39.12% 0.102 285.1)
XYZxyz(7.1941, 5.6319, 18.7935)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413B79 #73793B
analogous
#3B5479 #413B79 #603B79
triadic
#413B79 #79413B #3B7941
tetradic
#413B79 #793B54 #73793B #3B7960
square
#413B79 #793B54 #73793B #3B7960
split-complementary
#413B79 #79603B #54793B
monochromatic
#151327 #2B2750 #413B79 #574FA2 #7A73BB

Accessibility & contrast

On white

9.88
#413B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#413B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413B79
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413B79#FFFFFF#000000##FFFFFF
##413B791.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21457B
Deuteranopia (green-blind)
#1F4178
Tritanopia (blue-blind)
#2F4854
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #413b79;
/* rgb */ color: rgb(65, 59, 121);
/* oklch */ color: oklch(39.1% 0.102 285.1);
Tailwind
colors: {
  custom: {
    50: '#7971a0',
    500: '#413b79',
    950: '#000000',
  },
}
SCSS
$custom: #413b79;
$custom-light: #7971a0;
$custom-dark: #000000;
JSON
{
  "hex": "#413b79",
  "rgb": {
    "r": 65,
    "g": 59,
    "b": 121
  },
  "hsl": {
    "h": 245.806,
    "s": 34.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.39124,
    "c": 0.10199,
    "h": 285.1
  },
  "luminance": 0.05632
}

Semantic roles & 50–950 ramp

primary
#413B79
secondary
#9FA56B
accent
#CB5DC0
background
#F7F6F9
surface
#EEECF2
border
#C9C7CC
text
#09070F
muted
#7B7A7E

Preview Lab

Preview with #413B79

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

Preview Lab → · Contrast checker → · Palette generator →

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