#413B81#413B81

#413B81 is a dark, moderate blue. Relative luminance 0.058; OKLCH L 39.7% C 0.114 H 283.8°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#413B81
RGBrgb(65, 59, 129)
HSLhsl(245, 37%, 37%)
HSVhsv(245, 54%, 51%)
CMYKcmyk(49.6%, 54.3%, 0%, 49.4%)
CIE-LABlab(29.00, 22.45, -38.86)
CIE-LCHlch(29.00, 44.88, 300.02°)
OKLaboklab(39.69% 0.0272 -0.1107)
OKLCHoklch(39.69% 0.114 283.8)
XYZxyz(7.7052, 5.8364, 21.4852)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413B81 #7B813B
analogous
#3B5881 #413B81 #643B81
triadic
#413B81 #81413B #3B8141
tetradic
#413B81 #813B58 #7B813B #3B8164
square
#413B81 #813B58 #7B813B #3B8164
split-complementary
#413B81 #81643B #58813B
monochromatic
#17152D #2C2857 #413B81 #564EAB #7C76C0

Accessibility & contrast

On white

9.69
#413B81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#413B81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413B81
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413B81#FFFFFF#000000##FFFFFF
##413B811.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184783
Deuteranopia (green-blind)
#14427F
Tritanopia (blue-blind)
#2B4A58
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #413b81;
/* rgb */ color: rgb(65, 59, 129);
/* oklch */ color: oklch(39.7% 0.114 283.8);
Tailwind
colors: {
  custom: {
    50: '#7a71a6',
    500: '#413b81',
    950: '#000000',
  },
}
SCSS
$custom: #413b81;
$custom-light: #7a71a6;
$custom-dark: #000000;
JSON
{
  "hex": "#413b81",
  "rgb": {
    "r": 65,
    "g": 59,
    "b": 129
  },
  "hsl": {
    "h": 245.143,
    "s": 37.234,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39694,
    "c": 0.114,
    "h": 283.8
  },
  "luminance": 0.05837
}

Semantic roles & 50–950 ramp

primary
#413B81
secondary
#A5AA6E
accent
#CD5BC3
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#0A070F
muted
#7C7A7F

Preview Lab

Preview with #413B81

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

Preview Lab → · Contrast checker → · Palette generator →

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