#413E8D#413E8D

#413E8D is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.2% C 0.127 H 280.9°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#413E8D
RGBrgb(65, 62, 141)
HSLhsl(242, 39%, 40%)
HSVhsv(242, 56%, 55%)
CMYKcmyk(53.9%, 56%, 0%, 44.7%)
CIE-LABlab(30.62, 24.46, -43.68)
CIE-LCHlch(30.62, 50.06, 299.25°)
OKLaboklab(41.17% 0.0241 -0.1249)
OKLCHoklch(41.17% 0.127 280.9)
XYZxyz(8.7088, 6.4916, 25.9883)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413E8D #8A8D3E
analogous
#3E638D #413E8D #683E8D
triadic
#413E8D #8D413E #3E8D41
tetradic
#413E8D #8D3E63 #8A8D3E #3E8D68
square
#413E8D #8D3E63 #8A8D3E #3E8D68
split-complementary
#413E8D #8D683E #638D3E
monochromatic
#1A1938 #2D2B62 #413E8D #5854B4 #827FC7

Accessibility & contrast

On white

9.14
#413E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#413E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413E8D
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413E8D#FFFFFF#000000##FFFFFF
##413E8D1.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4B90
Deuteranopia (green-blind)
#01458B
Tritanopia (blue-blind)
#21505F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #413e8d;
/* rgb */ color: rgb(65, 62, 141);
/* oklch */ color: oklch(41.2% 0.127 280.9);
Tailwind
colors: {
  custom: {
    50: '#7c73af',
    500: '#413e8d',
    950: '#000000',
  },
}
SCSS
$custom: #413e8d;
$custom-light: #7c73af;
$custom-dark: #000000;
JSON
{
  "hex": "#413e8d",
  "rgb": {
    "r": 65,
    "g": 62,
    "b": 141
  },
  "hsl": {
    "h": 242.278,
    "s": 38.916,
    "l": 39.804
  },
  "oklch": {
    "l": 0.41174,
    "c": 0.12719,
    "h": 280.9
  },
  "luminance": 0.06492
}

Semantic roles & 50–950 ramp

primary
#413E8D
secondary
#AEB176
accent
#CF59CA
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#0A0810
muted
#7C7B7F

Preview Lab

Preview with #413E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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