#413D9D#413D9D

#413D9D is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.3% C 0.151 H 279.6°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#413D9D
RGBrgb(65, 61, 157)
HSLhsl(243, 44%, 43%)
HSVhsv(243, 61%, 62%)
CMYKcmyk(58.6%, 61.1%, 0%, 38.4%)
CIE-LABlab(31.57, 30.48, -51.92)
CIE-LCHlch(31.57, 60.21, 300.42°)
OKLaboklab(42.25% 0.0252 -0.1491)
OKLCHoklch(42.25% 0.151 279.6)
XYZxyz(9.9326, 6.8949, 32.6992)
Luminance0.0690 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413D9D #999D3D
analogous
#3D699D #413D9D #713D9D
triadic
#413D9D #9D413D #3D9D41
tetradic
#413D9D #9D3D69 #999D3D #3D9D71
square
#413D9D #9D3D69 #999D3D #3D9D71
split-complementary
#413D9D #9D713D #699D3D
monochromatic
#1D1B45 #2F2C71 #413D9D #5D59BE #8885D0

Accessibility & contrast

On white

8.83
#413D9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#413D9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413D9D
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413D9D#FFFFFF#000000##FFFFFF
##413D9D1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA0
Deuteranopia (green-blind)
#00479B
Tritanopia (blue-blind)
#085467
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #413d9d;
/* rgb */ color: rgb(65, 61, 157);
/* oklch */ color: oklch(42.3% 0.151 279.6);
Tailwind
colors: {
  custom: {
    50: '#7f73bb',
    500: '#413d9d',
    950: '#000000',
  },
}
SCSS
$custom: #413d9d;
$custom-light: #7f73bb;
$custom-dark: #000000;
JSON
{
  "hex": "#413d9d",
  "rgb": {
    "r": 65,
    "g": 61,
    "b": 157
  },
  "hsl": {
    "h": 242.5,
    "s": 44.037,
    "l": 42.745
  },
  "oklch": {
    "l": 0.42254,
    "c": 0.15124,
    "h": 279.6
  },
  "luminance": 0.06896
}

Semantic roles & 50–950 ramp

primary
#413D9D
secondary
#B7BA7C
accent
#D454CE
background
#F8F6FB
surface
#EFECF6
border
#CAC7D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #413D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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