#413D99#413D99

#413D99 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.9% C 0.146 H 280.0°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#413D99
RGBrgb(65, 61, 153)
HSLhsl(243, 43%, 42%)
HSVhsv(243, 60%, 60%)
CMYKcmyk(57.5%, 60.1%, 0%, 40%)
CIE-LABlab(31.26, 29.14, -50.00)
CIE-LCHlch(31.26, 57.87, 300.23°)
OKLaboklab(41.93% 0.0253 -0.1435)
OKLCHoklch(41.93% 0.146 280)
XYZxyz(9.5967, 6.7606, 30.9300)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413D99 #95993D
analogous
#3D6799 #413D99 #6F3D99
triadic
#413D99 #99413D #3D9941
tetradic
#413D99 #993D67 #95993D #3D996F
square
#413D99 #993D67 #95993D #3D996F
split-complementary
#413D99 #996F3D #67993D
monochromatic
#1C1A41 #2E2C6D #413D99 #5C57BC #8683CE

Accessibility & contrast

On white

8.93
#413D99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#413D99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413D99
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413D99#FFFFFF#000000##FFFFFF
##413D991.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9C
Deuteranopia (green-blind)
#004697
Tritanopia (blue-blind)
#125365
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #413d99;
/* rgb */ color: rgb(65, 61, 153);
/* oklch */ color: oklch(41.9% 0.146 280.0);
Tailwind
colors: {
  custom: {
    50: '#7e72b8',
    500: '#413d99',
    950: '#000000',
  },
}
SCSS
$custom: #413d99;
$custom-light: #7e72b8;
$custom-dark: #000000;
JSON
{
  "hex": "#413d99",
  "rgb": {
    "r": 65,
    "g": 61,
    "b": 153
  },
  "hsl": {
    "h": 242.609,
    "s": 42.991,
    "l": 41.961
  },
  "oklch": {
    "l": 0.41927,
    "c": 0.14569,
    "h": 280
  },
  "luminance": 0.06761
}

Semantic roles & 50–950 ramp

primary
#413D99
secondary
#B5B87A
accent
#D355CD
background
#F8F6FB
surface
#EFECF6
border
#CAC7D0
text
#0B0811
muted
#7C7B80

Preview Lab

Preview with #413D99

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

Preview Lab → · Contrast checker → · Palette generator →

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