#412EBB#412EBB

#412EBB is a dark, highly saturated blue. Relative luminance 0.067; OKLCH L 42.7% C 0.207 H 279.1°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#412EBB
RGBrgb(65, 46, 187)
HSLhsl(248, 61%, 46%)
HSVhsv(248, 75%, 73%)
CMYKcmyk(65.2%, 75.4%, 0%, 26.7%)
CIE-LABlab(31.03, 48.97, -70.76)
CIE-LCHlch(31.03, 86.05, 304.69°)
OKLaboklab(42.69% 0.0328 -0.2043)
OKLCHoklch(42.69% 0.207 279.1)
XYZxyz(12.1237, 6.6647, 47.6516)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412EBB #A8BB2E
analogous
#2E61BB #412EBB #872EBB
triadic
#412EBB #BB412E #2EBB41
tetradic
#412EBB #BB2E61 #A8BB2E #2EBB87
square
#412EBB #BB2E61 #A8BB2E #2EBB87
split-complementary
#412EBB #BB872E #61BB2E
monochromatic
#1F1659 #30228A #412EBB #6352D4 #9083E0

Accessibility & contrast

On white

9.00
#412EBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#412EBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412EBB
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412EBB#FFFFFF#000000##FFFFFF
##412EBB1.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBF
Deuteranopia (green-blind)
#0043B8
Tritanopia (blue-blind)
#005773
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #412ebb;
/* rgb */ color: rgb(65, 46, 187);
/* oklch */ color: oklch(42.7% 0.207 279.1);
Tailwind
colors: {
  custom: {
    50: '#866ad1',
    500: '#412ebb',
    950: '#000000',
  },
}
SCSS
$custom: #412ebb;
$custom-light: #866ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#412ebb",
  "rgb": {
    "r": 65,
    "g": 46,
    "b": 187
  },
  "hsl": {
    "h": 248.085,
    "s": 60.515,
    "l": 45.686
  },
  "oklch": {
    "l": 0.42691,
    "c": 0.20691,
    "h": 279.1
  },
  "luminance": 0.06666
}

Semantic roles & 50–950 ramp

primary
#412EBB
secondary
#BFCA7B
accent
#E444CE
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0D0714
muted
#7D7A83

Preview Lab

Preview with #412EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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