#413BA7#413BA7

#413BA7 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.8% C 0.167 H 279.1°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#413BA7
RGBrgb(65, 59, 167)
HSLhsl(243, 48%, 44%)
HSVhsv(243, 65%, 65%)
CMYKcmyk(61.1%, 64.7%, 0%, 34.5%)
CIE-LABlab(31.90, 35.09, -57.41)
CIE-LCHlch(31.90, 67.29, 301.43°)
OKLaboklab(42.75% 0.0264 -0.1653)
OKLCHoklch(42.75% 0.167 279.1)
XYZxyz(10.7168, 7.0410, 37.3460)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413BA7 #A1A73B
analogous
#3B6BA7 #413BA7 #773BA7
triadic
#413BA7 #A7413B #3BA741
tetradic
#413BA7 #A73B6B #A1A73B #3BA777
square
#413BA7 #A73B6B #A1A73B #3BA777
split-complementary
#413BA7 #A7773B #6BA73B
monochromatic
#1E1B4D #2F2B7A #413BA7 #605AC5 #8C88D5

Accessibility & contrast

On white

8.72
#413BA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#413BA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413BA7
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413BA7#FFFFFF#000000##FFFFFF
##413BA71.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAA
Deuteranopia (green-blind)
#0047A5
Tritanopia (blue-blind)
#00566B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #413ba7;
/* rgb */ color: rgb(65, 59, 167);
/* oklch */ color: oklch(42.8% 0.167 279.1);
Tailwind
colors: {
  custom: {
    50: '#8171c2',
    500: '#413ba7',
    950: '#000000',
  },
}
SCSS
$custom: #413ba7;
$custom-light: #8171c2;
$custom-dark: #000000;
JSON
{
  "hex": "#413ba7",
  "rgb": {
    "r": 65,
    "g": 59,
    "b": 167
  },
  "hsl": {
    "h": 243.333,
    "s": 47.788,
    "l": 44.314
  },
  "oklch": {
    "l": 0.42752,
    "c": 0.16737,
    "h": 279.1
  },
  "luminance": 0.07042
}

Semantic roles & 50–950 ramp

primary
#413BA7
secondary
#BBBF7F
accent
#D750D0
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #413BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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