#413DA7#413DA7

#413DA7 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.1% C 0.165 H 278.6°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#413DA7
RGBrgb(65, 61, 167)
HSLhsl(242, 46%, 45%)
HSVhsv(242, 63%, 65%)
CMYKcmyk(61.1%, 63.5%, 0%, 34.5%)
CIE-LABlab(32.37, 33.84, -56.65)
CIE-LCHlch(32.37, 65.99, 300.86°)
OKLaboklab(43.1% 0.0246 -0.163)
OKLCHoklch(43.1% 0.165 278.6)
XYZxyz(10.8215, 7.2505, 37.3810)
Luminance0.0725 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413DA7 #A3A73D
analogous
#3D6EA7 #413DA7 #763DA7
triadic
#413DA7 #A7413D #3DA741
tetradic
#413DA7 #A73D6E #A3A73D #3DA776
square
#413DA7 #A73D6E #A3A73D #3DA776
split-complementary
#413DA7 #A7763D #6EA73D
monochromatic
#1E1C4D #302D7A #413DA7 #615DC4 #8D8AD4

Accessibility & contrast

On white

8.57
#413DA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#413DA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413DA7
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413DA7#FFFFFF#000000##FFFFFF
##413DA71.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AA
Deuteranopia (green-blind)
#0048A5
Tritanopia (blue-blind)
#00576C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #413da7;
/* rgb */ color: rgb(65, 61, 167);
/* oklch */ color: oklch(43.1% 0.165 278.6);
Tailwind
colors: {
  custom: {
    50: '#8173c2',
    500: '#413da7',
    950: '#000000',
  },
}
SCSS
$custom: #413da7;
$custom-light: #8173c2;
$custom-dark: #000000;
JSON
{
  "hex": "#413da7",
  "rgb": {
    "r": 65,
    "g": 61,
    "b": 167
  },
  "hsl": {
    "h": 242.264,
    "s": 46.491,
    "l": 44.706
  },
  "oklch": {
    "l": 0.43096,
    "c": 0.16486,
    "h": 278.6
  },
  "luminance": 0.07251
}

Semantic roles & 50–950 ramp

primary
#413DA7
secondary
#BDBF81
accent
#D652D1
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #413DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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