#413F8F#413F8F

#413F8F is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.5% C 0.129 H 280.3°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#413F8F
RGBrgb(65, 63, 143)
HSLhsl(242, 39%, 40%)
HSVhsv(242, 56%, 56%)
CMYKcmyk(54.5%, 55.9%, 0%, 43.9%)
CIE-LABlab(31.02, 24.48, -44.26)
CIE-LCHlch(31.02, 50.58, 298.95°)
OKLaboklab(41.52% 0.0231 -0.1266)
OKLCHoklch(41.52% 0.129 280.3)
XYZxyz(8.9139, 6.6615, 26.7974)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413F8F #8D8F3F
analogous
#3F658F #413F8F #693F8F
triadic
#413F8F #8F413F #3F8F41
tetradic
#413F8F #8F3F65 #8D8F3F #3F8F69
square
#413F8F #8F3F65 #8D8F3F #3F8F69
split-complementary
#413F8F #8F693F #658F3F
monochromatic
#1A1A3A #2E2C65 #413F8F #5956B5 #8381C7

Accessibility & contrast

On white

9.00
#413F8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#413F8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413F8F
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413F8F#FFFFFF#000000##FFFFFF
##413F8F1.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4C92
Deuteranopia (green-blind)
#00468D
Tritanopia (blue-blind)
#1F5160
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #413f8f;
/* rgb */ color: rgb(65, 63, 143);
/* oklch */ color: oklch(41.5% 0.129 280.3);
Tailwind
colors: {
  custom: {
    50: '#7c74b0',
    500: '#413f8f',
    950: '#000000',
  },
}
SCSS
$custom: #413f8f;
$custom-light: #7c74b0;
$custom-dark: #000000;
JSON
{
  "hex": "#413f8f",
  "rgb": {
    "r": 65,
    "g": 63,
    "b": 143
  },
  "hsl": {
    "h": 241.5,
    "s": 38.835,
    "l": 40.392
  },
  "oklch": {
    "l": 0.4152,
    "c": 0.12866,
    "h": 280.3
  },
  "luminance": 0.06662
}

Semantic roles & 50–950 ramp

primary
#413F8F
secondary
#B0B278
accent
#CF59CC
background
#F7F7FA
surface
#EEEDF5
border
#C9C8CF
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #413F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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