#413F9D#413F9D

#413F9D is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.6% C 0.149 H 279.0°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#413F9D
RGBrgb(65, 63, 157)
HSLhsl(241, 43%, 43%)
HSVhsv(241, 60%, 62%)
CMYKcmyk(58.6%, 59.9%, 0%, 38.4%)
CIE-LABlab(32.06, 29.21, -51.12)
CIE-LCHlch(32.06, 58.87, 299.74°)
OKLaboklab(42.62% 0.0232 -0.1467)
OKLCHoklch(42.62% 0.149 279)
XYZxyz(10.0414, 7.1125, 32.7355)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413F9D #9B9D3F
analogous
#3F6C9D #413F9D #703F9D
triadic
#413F9D #9D413F #3F9D41
tetradic
#413F9D #9D3F6C #9B9D3F #3F9D70
square
#413F9D #9D3F6C #9B9D3F #3F9D70
split-complementary
#413F9D #9D703F #6C9D3F
monochromatic
#1D1C46 #2F2D71 #413F9D #5E5CBD #8987CF

Accessibility & contrast

On white

8.67
#413F9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#413F9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413F9D
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413F9D#FFFFFF#000000##FFFFFF
##413F9D1.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA0
Deuteranopia (green-blind)
#00489B
Tritanopia (blue-blind)
#075568
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #413f9d;
/* rgb */ color: rgb(65, 63, 157);
/* oklch */ color: oklch(42.6% 0.149 279.0);
Tailwind
colors: {
  custom: {
    50: '#7f74bb',
    500: '#413f9d',
    950: '#000000',
  },
}
SCSS
$custom: #413f9d;
$custom-light: #7f74bb;
$custom-dark: #000000;
JSON
{
  "hex": "#413f9d",
  "rgb": {
    "r": 65,
    "g": 63,
    "b": 157
  },
  "hsl": {
    "h": 241.277,
    "s": 42.727,
    "l": 43.137
  },
  "oklch": {
    "l": 0.42619,
    "c": 0.14857,
    "h": 279
  },
  "luminance": 0.07113
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #413F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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