#413C79#413C79

#413C79 is a dark, moderate blue. Relative luminance 0.057; OKLCH L 39.3% C 0.100 H 284.5°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#413C79
RGBrgb(65, 60, 121)
HSLhsl(245, 34%, 35%)
HSVhsv(245, 50%, 47%)
CMYKcmyk(46.3%, 50.4%, 0%, 52.5%)
CIE-LABlab(28.74, 19.18, -34.26)
CIE-LCHlch(28.74, 39.27, 299.25°)
OKLaboklab(39.33% 0.0251 -0.0972)
OKLCHoklch(39.33% 0.1 284.5)
XYZxyz(7.2460, 5.7357, 18.8108)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413C79 #74793C
analogous
#3C5579 #413C79 #5F3C79
triadic
#413C79 #79413C #3C7941
tetradic
#413C79 #793C55 #74793C #3C795F
square
#413C79 #793C55 #74793C #3C795F
split-complementary
#413C79 #795F3C #55793C
monochromatic
#151327 #2B2850 #413C79 #5750A2 #7B75BB

Accessibility & contrast

On white

9.78
#413C79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #413C79
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413C79#FFFFFF#000000##FFFFFF
##413C791.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23467B
Deuteranopia (green-blind)
#204278
Tritanopia (blue-blind)
#2F4954
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #413c79;
/* rgb */ color: rgb(65, 60, 121);
/* oklch */ color: oklch(39.3% 0.100 284.5);
Tailwind
colors: {
  custom: {
    50: '#7971a0',
    500: '#413c79',
    950: '#000000',
  },
}
SCSS
$custom: #413c79;
$custom-light: #7971a0;
$custom-dark: #000000;
JSON
{
  "hex": "#413c79",
  "rgb": {
    "r": 65,
    "g": 60,
    "b": 121
  },
  "hsl": {
    "h": 244.918,
    "s": 33.702,
    "l": 35.49
  },
  "oklch": {
    "l": 0.39328,
    "c": 0.10041,
    "h": 284.5
  },
  "luminance": 0.05736
}

Semantic roles & 50–950 ramp

primary
#413C79
secondary
#A0A46C
accent
#CA5EC1
background
#F7F6F9
surface
#EEECF2
border
#C9C7CC
text
#09070F
muted
#7B7A7E

Preview Lab

Preview with #413C79

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

Preview Lab → · Contrast checker → · Palette generator →

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