#412EA5#412EA5

#412EA5 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.5% C 0.180 H 282.0°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#412EA5
RGBrgb(65, 46, 165)
HSLhsl(250, 56%, 41%)
HSVhsv(250, 72%, 65%)
CMYKcmyk(60.6%, 72.1%, 0%, 35.3%)
CIE-LABlab(28.89, 42.15, -61.14)
CIE-LCHlch(28.89, 74.26, 304.58°)
OKLaboklab(40.53% 0.0376 -0.1762)
OKLCHoklch(40.53% 0.18 282)
XYZxyz(9.9464, 5.7937, 36.1842)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412EA5 #92A52E
analogous
#2E57A5 #412EA5 #7D2EA5
triadic
#412EA5 #A5412E #2EA541
tetradic
#412EA5 #A52E57 #92A52E #2EA57D
square
#412EA5 #A52E57 #92A52E #2EA57D
split-complementary
#412EA5 #A57D2E #57A52E
monochromatic
#1B1345 #2E2175 #412EA5 #5A45CB #8575D8

Accessibility & contrast

On white

9.73
#412EA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#412EA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412EA5
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412EA5#FFFFFF#000000##FFFFFF
##412EA51.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A9
Deuteranopia (green-blind)
#0040A3
Tritanopia (blue-blind)
#004E66
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #412ea5;
/* rgb */ color: rgb(65, 46, 165);
/* oklch */ color: oklch(40.5% 0.180 282.0);
Tailwind
colors: {
  custom: {
    50: '#8169c1',
    500: '#412ea5',
    950: '#000000',
  },
}
SCSS
$custom: #412ea5;
$custom-light: #8169c1;
$custom-dark: #000000;
JSON
{
  "hex": "#412ea5",
  "rgb": {
    "r": 65,
    "g": 46,
    "b": 165
  },
  "hsl": {
    "h": 249.58,
    "s": 56.398,
    "l": 41.373
  },
  "oklch": {
    "l": 0.40525,
    "c": 0.18018,
    "h": 282
  },
  "luminance": 0.05794
}

Semantic roles & 50–950 ramp

primary
#412EA5
secondary
#B3C06F
accent
#E048C7
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #412EA5

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

Preview Lab → · Contrast checker → · Palette generator →

#412EA5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva