#413D9F#413D9F

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

Color values

HEX#413D9F
RGBrgb(65, 61, 159)
HSLhsl(242, 45%, 43%)
HSVhsv(242, 62%, 62%)
CMYKcmyk(59.1%, 61.6%, 0%, 37.6%)
CIE-LABlab(31.72, 31.16, -52.88)
CIE-LCHlch(31.72, 61.37, 300.51°)
OKLaboklab(42.42% 0.0251 -0.1519)
OKLCHoklch(42.42% 0.154 279.4)
XYZxyz(10.1047, 6.9638, 33.6058)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413D9F #9B9F3D
analogous
#3D6A9F #413D9F #723D9F
triadic
#413D9F #9F413D #3D9F41
tetradic
#413D9F #9F3D6A #9B9F3D #3D9F72
square
#413D9F #9F3D6A #9B9F3D #3D9F72
split-complementary
#413D9F #9F723D #6A9F3D
monochromatic
#1D1B47 #2F2C73 #413D9F #5E5AC0 #8986D1

Accessibility & contrast

On white

8.78
#413D9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#413D9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413D9F
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413D9F#FFFFFF#000000##FFFFFF
##413D9F1.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA2
Deuteranopia (green-blind)
#00479D
Tritanopia (blue-blind)
#035568
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #413d9f;
/* rgb */ color: rgb(65, 61, 159);
/* oklch */ color: oklch(42.4% 0.154 279.4);
Tailwind
colors: {
  custom: {
    50: '#7f73bc',
    500: '#413d9f',
    950: '#000000',
  },
}
SCSS
$custom: #413d9f;
$custom-light: #7f73bc;
$custom-dark: #000000;
JSON
{
  "hex": "#413d9f",
  "rgb": {
    "r": 65,
    "g": 61,
    "b": 159
  },
  "hsl": {
    "h": 242.449,
    "s": 44.545,
    "l": 43.137
  },
  "oklch": {
    "l": 0.4242,
    "c": 0.154,
    "h": 279.4
  },
  "luminance": 0.06965
}

Semantic roles & 50–950 ramp

primary
#413D9F
secondary
#B8BB7D
accent
#D454CF
background
#F8F6FB
surface
#EFECF6
border
#CAC7D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #413D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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