#413D8D#413D8D

#413D8D is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.0% C 0.129 H 281.3°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#413D8D
RGBrgb(65, 61, 141)
HSLhsl(243, 40%, 40%)
HSVhsv(243, 57%, 55%)
CMYKcmyk(53.9%, 56.7%, 0%, 44.7%)
CIE-LABlab(30.36, 25.11, -44.10)
CIE-LCHlch(30.36, 50.75, 299.66°)
OKLaboklab(40.98% 0.0253 -0.1261)
OKLCHoklch(40.98% 0.129 281.3)
XYZxyz(8.6550, 6.3839, 25.9703)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413D8D #898D3D
analogous
#3D618D #413D8D #693D8D
triadic
#413D8D #8D413D #3D8D41
tetradic
#413D8D #8D3D61 #898D3D #3D8D69
square
#413D8D #8D3D61 #898D3D #3D8D69
split-complementary
#413D8D #8D693D #618D3D
monochromatic
#1A1838 #2D2B62 #413D8D #5853B4 #817DC7

Accessibility & contrast

On white

9.22
#413D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#413D8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413D8D
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413D8D#FFFFFF#000000##FFFFFF
##413D8D1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094A90
Deuteranopia (green-blind)
#00458B
Tritanopia (blue-blind)
#214F5F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #413d8d;
/* rgb */ color: rgb(65, 61, 141);
/* oklch */ color: oklch(41.0% 0.129 281.3);
Tailwind
colors: {
  custom: {
    50: '#7c72af',
    500: '#413d8d',
    950: '#000000',
  },
}
SCSS
$custom: #413d8d;
$custom-light: #7c72af;
$custom-dark: #000000;
JSON
{
  "hex": "#413d8d",
  "rgb": {
    "r": 65,
    "g": 61,
    "b": 141
  },
  "hsl": {
    "h": 243,
    "s": 39.604,
    "l": 39.608
  },
  "oklch": {
    "l": 0.40981,
    "c": 0.12863,
    "h": 281.3
  },
  "luminance": 0.06384
}

Semantic roles & 50–950 ramp

primary
#413D8D
secondary
#AEB175
accent
#CF58CA
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#0A0810
muted
#7C7B7F

Preview Lab

Preview with #413D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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