#413E99#413E99

#413E99 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.1% C 0.144 H 279.7°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#413E99
RGBrgb(65, 62, 153)
HSLhsl(242, 42%, 42%)
HSVhsv(242, 59%, 60%)
CMYKcmyk(57.5%, 59.5%, 0%, 40%)
CIE-LABlab(31.51, 28.50, -49.59)
CIE-LCHlch(31.51, 57.20, 299.88°)
OKLaboklab(42.11% 0.0243 -0.1423)
OKLCHoklch(42.11% 0.144 279.7)
XYZxyz(9.6506, 6.8683, 30.9480)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413E99 #96993E
analogous
#3E6999 #413E99 #6F3E99
triadic
#413E99 #99413E #3E9941
tetradic
#413E99 #993E69 #96993E #3E996F
square
#413E99 #993E69 #96993E #3E996F
split-complementary
#413E99 #996F3E #69993E
monochromatic
#1C1B42 #2E2C6D #413E99 #5C59BC #8784CD

Accessibility & contrast

On white

8.85
#413E99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#413E99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413E99
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413E99#FFFFFF#000000##FFFFFF
##413E991.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9C
Deuteranopia (green-blind)
#004797
Tritanopia (blue-blind)
#115465
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #413e99;
/* rgb */ color: rgb(65, 62, 153);
/* oklch */ color: oklch(42.1% 0.144 279.7);
Tailwind
colors: {
  custom: {
    50: '#7e73b8',
    500: '#413e99',
    950: '#000000',
  },
}
SCSS
$custom: #413e99;
$custom-light: #7e73b8;
$custom-dark: #000000;
JSON
{
  "hex": "#413e99",
  "rgb": {
    "r": 65,
    "g": 62,
    "b": 153
  },
  "hsl": {
    "h": 241.978,
    "s": 42.326,
    "l": 42.157
  },
  "oklch": {
    "l": 0.42111,
    "c": 0.14434,
    "h": 279.7
  },
  "luminance": 0.06869
}

Semantic roles & 50–950 ramp

primary
#413E99
secondary
#B6B87B
accent
#D256CE
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0811
muted
#7C7B80

Preview Lab

Preview with #413E99

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

Preview Lab → · Contrast checker → · Palette generator →

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