#412EBA#412EBA

#412EBA is a dark, highly saturated blue. Relative luminance 0.066; OKLCH L 42.6% C 0.206 H 279.2°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#412EBA
RGBrgb(65, 46, 186)
HSLhsl(248, 60%, 45%)
HSVhsv(248, 75%, 73%)
CMYKcmyk(65.1%, 75.3%, 0%, 27.1%)
CIE-LABlab(30.93, 48.67, -70.33)
CIE-LCHlch(30.93, 85.53, 304.68°)
OKLaboklab(42.59% 0.033 -0.2031)
OKLCHoklch(42.59% 0.206 279.2)
XYZxyz(12.0171, 6.6220, 47.0898)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412EBA #A7BA2E
analogous
#2E61BA #412EBA #872EBA
triadic
#412EBA #BA412E #2EBA41
tetradic
#412EBA #BA2E61 #A7BA2E #2EBA87
square
#412EBA #BA2E61 #A7BA2E #2EBA87
split-complementary
#412EBA #BA872E #61BA2E
monochromatic
#1F1658 #302289 #412EBA #6351D4 #8F82E0

Accessibility & contrast

On white

9.03
#412EBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#412EBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412EBA
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412EBA#FFFFFF#000000##FFFFFF
##412EBA1.009.032.329.03
#FFFFFF9.031.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBE
Deuteranopia (green-blind)
#0043B7
Tritanopia (blue-blind)
#005672
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #412eba;
/* rgb */ color: rgb(65, 46, 186);
/* oklch */ color: oklch(42.6% 0.206 279.2);
Tailwind
colors: {
  custom: {
    50: '#866ad0',
    500: '#412eba',
    950: '#000000',
  },
}
SCSS
$custom: #412eba;
$custom-light: #866ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#412eba",
  "rgb": {
    "r": 65,
    "g": 46,
    "b": 186
  },
  "hsl": {
    "h": 248.143,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.4259,
    "c": 0.20572,
    "h": 279.2
  },
  "luminance": 0.06623
}

Semantic roles & 50–950 ramp

primary
#412EBA
secondary
#BFC97B
accent
#E344CE
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0D0714
muted
#7D7A82

Preview Lab

Preview with #412EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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