#412EB5#412EB5

#412EB5 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 42.1% C 0.200 H 279.8°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#412EB5
RGBrgb(65, 46, 181)
HSLhsl(248, 59%, 45%)
HSVhsv(248, 75%, 71%)
CMYKcmyk(64.1%, 74.6%, 0%, 29%)
CIE-LABlab(30.43, 47.13, -68.19)
CIE-LCHlch(30.43, 82.89, 304.65°)
OKLaboklab(42.09% 0.0342 -0.1968)
OKLCHoklch(42.09% 0.2 279.8)
XYZxyz(11.4948, 6.4131, 44.3392)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412EB5 #A2B52E
analogous
#2E5FB5 #412EB5 #842EB5
triadic
#412EB5 #B5412E #2EB541
tetradic
#412EB5 #B52E5F #A2B52E #2EB584
square
#412EB5 #B52E5F #A2B52E #2EB584
split-complementary
#412EB5 #B5842E #5FB52E
monochromatic
#1E1553 #2F2284 #412EB5 #614ED2 #8C7FDE

Accessibility & contrast

On white

9.20
#412EB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#412EB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412EB5
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412EB5#FFFFFF#000000##FFFFFF
##412EB51.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB9
Deuteranopia (green-blind)
#0042B3
Tritanopia (blue-blind)
#00546F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #412eb5;
/* rgb */ color: rgb(65, 46, 181);
/* oklch */ color: oklch(42.1% 0.200 279.8);
Tailwind
colors: {
  custom: {
    50: '#8569cc',
    500: '#412eb5',
    950: '#000000',
  },
}
SCSS
$custom: #412eb5;
$custom-light: #8569cc;
$custom-dark: #000000;
JSON
{
  "hex": "#412eb5",
  "rgb": {
    "r": 65,
    "g": 46,
    "b": 181
  },
  "hsl": {
    "h": 248.444,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.42089,
    "c": 0.19974,
    "h": 279.8
  },
  "luminance": 0.06414
}

Semantic roles & 50–950 ramp

primary
#412EB5
secondary
#BCC778
accent
#E345CC
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #412EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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