#413E9A#413E9A

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

Color values

HEX#413E9A
RGBrgb(65, 62, 154)
HSLhsl(242, 43%, 42%)
HSVhsv(242, 60%, 60%)
CMYKcmyk(57.8%, 59.7%, 0%, 39.6%)
CIE-LABlab(31.58, 28.83, -50.08)
CIE-LCHlch(31.58, 57.78, 299.93°)
OKLaboklab(42.19% 0.0243 -0.1437)
OKLCHoklch(42.19% 0.146 279.6)
XYZxyz(9.7335, 6.9015, 31.3848)
Luminance0.0690 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413E9A #979A3E
analogous
#3E699A #413E9A #6F3E9A
triadic
#413E9A #9A413E #3E9A41
tetradic
#413E9A #9A3E69 #979A3E #3E9A6F
square
#413E9A #9A3E69 #979A3E #3E9A6F
split-complementary
#413E9A #9A6F3E #699A3E
monochromatic
#1C1B43 #2F2C6E #413E9A #5C59BC #8785CE

Accessibility & contrast

On white

8.82
#413E9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #413E9A
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413E9A#FFFFFF#000000##FFFFFF
##413E9A1.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9D
Deuteranopia (green-blind)
#004798
Tritanopia (blue-blind)
#0F5466
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #413e9a;
/* rgb */ color: rgb(65, 62, 154);
/* oklch */ color: oklch(42.2% 0.146 279.6);
Tailwind
colors: {
  custom: {
    50: '#7e73b8',
    500: '#413e9a',
    950: '#000000',
  },
}
SCSS
$custom: #413e9a;
$custom-light: #7e73b8;
$custom-dark: #000000;
JSON
{
  "hex": "#413e9a",
  "rgb": {
    "r": 65,
    "g": 62,
    "b": 154
  },
  "hsl": {
    "h": 241.957,
    "s": 42.593,
    "l": 42.353
  },
  "oklch": {
    "l": 0.42192,
    "c": 0.14573,
    "h": 279.6
  },
  "luminance": 0.06902
}

Semantic roles & 50–950 ramp

primary
#413E9A
secondary
#B6B87C
accent
#D255CE
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0811
muted
#7C7B80

Preview Lab

Preview with #413E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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