#413F9A#413F9A

#413F9A is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.4% C 0.144 H 279.3°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#413F9A
RGBrgb(65, 63, 154)
HSLhsl(241, 42%, 43%)
HSVhsv(241, 59%, 60%)
CMYKcmyk(57.8%, 59.1%, 0%, 39.6%)
CIE-LABlab(31.83, 28.19, -49.67)
CIE-LCHlch(31.83, 57.11, 299.58°)
OKLaboklab(42.38% 0.0232 -0.1425)
OKLCHoklch(42.38% 0.144 279.3)
XYZxyz(9.7884, 7.0113, 31.4031)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413F9A #989A3F
analogous
#3F6A9A #413F9A #6F3F9A
triadic
#413F9A #9A413F #3F9A41
tetradic
#413F9A #9A3F6A #989A3F #3F9A6F
square
#413F9A #9A3F6A #989A3F #3F9A6F
split-complementary
#413F9A #9A6F3F #6A9A3F
monochromatic
#1C1B43 #2F2D6F #413F9A #5D5ABC #8886CD

Accessibility & contrast

On white

8.74
#413F9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#413F9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413F9A
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413F9A#FFFFFF#000000##FFFFFF
##413F9A1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9D
Deuteranopia (green-blind)
#004798
Tritanopia (blue-blind)
#0F5566
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #413f9a;
/* rgb */ color: rgb(65, 63, 154);
/* oklch */ color: oklch(42.4% 0.144 279.3);
Tailwind
colors: {
  custom: {
    50: '#7e74b8',
    500: '#413f9a',
    950: '#000000',
  },
}
SCSS
$custom: #413f9a;
$custom-light: #7e74b8;
$custom-dark: #000000;
JSON
{
  "hex": "#413f9a",
  "rgb": {
    "r": 65,
    "g": 63,
    "b": 154
  },
  "hsl": {
    "h": 241.319,
    "s": 41.935,
    "l": 42.549
  },
  "oklch": {
    "l": 0.42377,
    "c": 0.14438,
    "h": 279.3
  },
  "luminance": 0.07012
}

Semantic roles & 50–950 ramp

primary
#413F9A
secondary
#B7B87D
accent
#D256CF
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0811
muted
#7C7B80

Preview Lab

Preview with #413F9A

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

Preview Lab → · Contrast checker → · Palette generator →

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