#413C8B#413C8B

#413C8B is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.6% C 0.127 H 282.0°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#413C8B
RGBrgb(65, 60, 139)
HSLhsl(244, 40%, 39%)
HSVhsv(244, 57%, 55%)
CMYKcmyk(53.2%, 56.8%, 0%, 45.5%)
CIE-LABlab(29.96, 25.10, -43.52)
CIE-LCHlch(29.96, 50.24, 299.98°)
OKLaboklab(40.64% 0.0264 -0.1244)
OKLCHoklch(40.64% 0.127 282)
XYZxyz(8.4546, 6.2191, 25.1760)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413C8B #868B3C
analogous
#3C5F8B #413C8B #693C8B
triadic
#413C8B #8B413C #3C8B41
tetradic
#413C8B #8B3C5F #868B3C #3C8B69
square
#413C8B #8B3C5F #868B3C #3C8B69
split-complementary
#413C8B #8B693C #5F8B3C
monochromatic
#191736 #2D2A60 #413C8B #5751B4 #807BC6

Accessibility & contrast

On white

9.36
#413C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#413C8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413C8B
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413C8B#FFFFFF#000000##FFFFFF
##413C8B1.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09498E
Deuteranopia (green-blind)
#004489
Tritanopia (blue-blind)
#234E5D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #413c8b;
/* rgb */ color: rgb(65, 60, 139);
/* oklch */ color: oklch(40.6% 0.127 282.0);
Tailwind
colors: {
  custom: {
    50: '#7c72ad',
    500: '#413c8b',
    950: '#000000',
  },
}
SCSS
$custom: #413c8b;
$custom-light: #7c72ad;
$custom-dark: #000000;
JSON
{
  "hex": "#413c8b",
  "rgb": {
    "r": 65,
    "g": 60,
    "b": 139
  },
  "hsl": {
    "h": 243.797,
    "s": 39.698,
    "l": 39.02
  },
  "oklch": {
    "l": 0.40636,
    "c": 0.12718,
    "h": 282
  },
  "luminance": 0.0622
}

Semantic roles & 50–950 ramp

primary
#413C8B
secondary
#ACB073
accent
#D058C8
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#0A0810
muted
#7C7B7F

Preview Lab

Preview with #413C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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