#412EA4#412EA4

#412EA4 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.4% C 0.179 H 282.2°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#412EA4
RGBrgb(65, 46, 164)
HSLhsl(250, 56%, 41%)
HSVhsv(250, 72%, 64%)
CMYKcmyk(60.4%, 72%, 0%, 35.7%)
CIE-LABlab(28.79, 41.83, -60.69)
CIE-LCHlch(28.79, 73.71, 304.58°)
OKLaboklab(40.43% 0.0378 -0.1749)
OKLCHoklch(40.43% 0.179 282.2)
XYZxyz(9.8557, 5.7575, 35.7067)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412EA4 #91A42E
analogous
#2E56A4 #412EA4 #7C2EA4
triadic
#412EA4 #A4412E #2EA441
tetradic
#412EA4 #A42E56 #91A42E #2EA47C
square
#412EA4 #A42E56 #91A42E #2EA47C
split-complementary
#412EA4 #A47C2E #56A42E
monochromatic
#1B1344 #2E2174 #412EA4 #5A45CB #8474D8

Accessibility & contrast

On white

9.76
#412EA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#412EA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412EA4
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412EA4#FFFFFF#000000##FFFFFF
##412EA41.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #412ea4;
/* rgb */ color: rgb(65, 46, 164);
/* oklch */ color: oklch(40.4% 0.179 282.2);
Tailwind
colors: {
  custom: {
    50: '#8169c0',
    500: '#412ea4',
    950: '#000000',
  },
}
SCSS
$custom: #412ea4;
$custom-light: #8169c0;
$custom-dark: #000000;
JSON
{
  "hex": "#412ea4",
  "rgb": {
    "r": 65,
    "g": 46,
    "b": 164
  },
  "hsl": {
    "h": 249.661,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.4043,
    "c": 0.17893,
    "h": 282.2
  },
  "luminance": 0.05758
}

Semantic roles & 50–950 ramp

primary
#412EA4
secondary
#B3C06E
accent
#DF48C7
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #412EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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