#413EA7#413EA7

#413EA7 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.3% C 0.164 H 278.3°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#413EA7
RGBrgb(65, 62, 167)
HSLhsl(242, 46%, 45%)
HSVhsv(242, 63%, 65%)
CMYKcmyk(61.1%, 62.9%, 0%, 34.5%)
CIE-LABlab(32.61, 33.22, -56.26)
CIE-LCHlch(32.61, 65.33, 300.56°)
OKLaboklab(43.27% 0.0237 -0.1619)
OKLCHoklch(43.27% 0.164 278.3)
XYZxyz(10.8754, 7.3583, 37.3989)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413EA7 #A4A73E
analogous
#3E70A7 #413EA7 #753EA7
triadic
#413EA7 #A7413E #3EA741
tetradic
#413EA7 #A73E70 #A4A73E #3EA775
square
#413EA7 #A73E70 #A4A73E #3EA775
split-complementary
#413EA7 #A7753E #70A73E
monochromatic
#1E1D4E #302D7A #413EA7 #625FC3 #8D8BD4

Accessibility & contrast

On white

8.50
#413EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#413EA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413EA7
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413EA7#FFFFFF#000000##FFFFFF
##413EA71.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AA
Deuteranopia (green-blind)
#0048A5
Tritanopia (blue-blind)
#00586C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #413ea7;
/* rgb */ color: rgb(65, 62, 167);
/* oklch */ color: oklch(43.3% 0.164 278.3);
Tailwind
colors: {
  custom: {
    50: '#8173c2',
    500: '#413ea7',
    950: '#000000',
  },
}
SCSS
$custom: #413ea7;
$custom-light: #8173c2;
$custom-dark: #000000;
JSON
{
  "hex": "#413ea7",
  "rgb": {
    "r": 65,
    "g": 62,
    "b": 167
  },
  "hsl": {
    "h": 241.714,
    "s": 45.852,
    "l": 44.902
  },
  "oklch": {
    "l": 0.4327,
    "c": 0.16359,
    "h": 278.3
  },
  "luminance": 0.07359
}

Semantic roles & 50–950 ramp

primary
#413EA7
secondary
#BDBF82
accent
#D652D2
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #413EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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