#413D78#413D78

#413D78 is a dark, moderate blue. Relative luminance 0.058; OKLCH L 39.5% C 0.097 H 284.1°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#413D78
RGBrgb(65, 61, 120)
HSLhsl(244, 33%, 35%)
HSVhsv(244, 49%, 47%)
CMYKcmyk(45.8%, 49.2%, 0%, 52.9%)
CIE-LABlab(28.95, 18.20, -33.29)
CIE-LCHlch(28.95, 37.94, 298.66°)
OKLaboklab(39.47% 0.0237 -0.0944)
OKLCHoklch(39.47% 0.097 284.1)
XYZxyz(7.2379, 5.8171, 18.5071)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413D78 #74783D
analogous
#3D5678 #413D78 #5E3D78
triadic
#413D78 #78413D #3D7841
tetradic
#413D78 #783D56 #74783D #3D785E
square
#413D78 #783D56 #74783D #3D785E
split-complementary
#413D78 #785E3D #56783D
monochromatic
#151427 #2B284F #413D78 #5752A1 #7B76B9

Accessibility & contrast

On white

9.71
#413D78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#413D78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413D78
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413D78#FFFFFF#000000##FFFFFF
##413D781.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25467A
Deuteranopia (green-blind)
#234277
Tritanopia (blue-blind)
#304954
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #413d78;
/* rgb */ color: rgb(65, 61, 120);
/* oklch */ color: oklch(39.5% 0.097 284.1);
Tailwind
colors: {
  custom: {
    50: '#79729f',
    500: '#413d78',
    950: '#000000',
  },
}
SCSS
$custom: #413d78;
$custom-light: #79729f;
$custom-dark: #000000;
JSON
{
  "hex": "#413d78",
  "rgb": {
    "r": 65,
    "g": 61,
    "b": 120
  },
  "hsl": {
    "h": 244.068,
    "s": 32.597,
    "l": 35.49
  },
  "oklch": {
    "l": 0.39467,
    "c": 0.09729,
    "h": 284.1
  },
  "luminance": 0.05817
}

Semantic roles & 50–950 ramp

primary
#413D78
secondary
#A0A36D
accent
#C95FC2
background
#F7F6F9
surface
#EEECF2
border
#C9C7CC
text
#09080E
muted
#7B7B7E

Preview Lab

Preview with #413D78

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

Preview Lab → · Contrast checker → · Palette generator →

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