#413F9E#413F9E

#413F9E is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.7% C 0.150 H 278.9°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#413F9E
RGBrgb(65, 63, 158)
HSLhsl(241, 43%, 43%)
HSVhsv(241, 60%, 62%)
CMYKcmyk(58.9%, 60.1%, 0%, 38%)
CIE-LABlab(32.14, 29.54, -51.60)
CIE-LCHlch(32.14, 59.46, 299.79°)
OKLaboklab(42.7% 0.0232 -0.1482)
OKLCHoklch(42.7% 0.15 278.9)
XYZxyz(10.1271, 7.1467, 33.1869)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413F9E #9C9E3F
analogous
#3F6C9E #413F9E #703F9E
triadic
#413F9E #9E413F #3F9E41
tetradic
#413F9E #9E3F6C #9C9E3F #3F9E70
square
#413F9E #9E3F6C #9C9E3F #3F9E70
split-complementary
#413F9E #9E703F #6C9E3F
monochromatic
#1D1C46 #2F2E72 #413F9E #5E5CBE #8988D0

Accessibility & contrast

On white

8.64
#413F9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#413F9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413F9E
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413F9E#FFFFFF#000000##FFFFFF
##413F9E1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA1
Deuteranopia (green-blind)
#00489C
Tritanopia (blue-blind)
#055668
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #413f9e;
/* rgb */ color: rgb(65, 63, 158);
/* oklch */ color: oklch(42.7% 0.150 278.9);
Tailwind
colors: {
  custom: {
    50: '#7f74bb',
    500: '#413f9e',
    950: '#000000',
  },
}
SCSS
$custom: #413f9e;
$custom-light: #7f74bb;
$custom-dark: #000000;
JSON
{
  "hex": "#413f9e",
  "rgb": {
    "r": 65,
    "g": 63,
    "b": 158
  },
  "hsl": {
    "h": 241.263,
    "s": 42.986,
    "l": 43.333
  },
  "oklch": {
    "l": 0.427,
    "c": 0.14997,
    "h": 278.9
  },
  "luminance": 0.07147
}

Semantic roles & 50–950 ramp

primary
#413F9E
secondary
#B9BA7F
accent
#D355D0
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #413F9E

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

Preview Lab → · Contrast checker → · Palette generator →

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