#412EB2#412EB2

#412EB2 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.8% C 0.196 H 280.2°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#412EB2
RGBrgb(65, 46, 178)
HSLhsl(249, 59%, 44%)
HSVhsv(249, 74%, 70%)
CMYKcmyk(63.5%, 74.2%, 0%, 30.2%)
CIE-LABlab(30.14, 46.20, -66.89)
CIE-LCHlch(30.14, 81.29, 304.63°)
OKLaboklab(41.79% 0.0348 -0.193)
OKLCHoklch(41.79% 0.196 280.2)
XYZxyz(11.1903, 6.2913, 42.7355)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412EB2 #9FB22E
analogous
#2E5DB2 #412EB2 #832EB2
triadic
#412EB2 #B2412E #2EB241
tetradic
#412EB2 #B22E5D #9FB22E #2EB283
square
#412EB2 #B22E5D #9FB22E #2EB283
split-complementary
#412EB2 #B2832E #5DB22E
monochromatic
#1D1551 #2F2181 #412EB2 #5F4CD1 #8B7DDD

Accessibility & contrast

On white

9.30
#412EB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#412EB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412EB2
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412EB2#FFFFFF#000000##FFFFFF
##412EB21.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB6
Deuteranopia (green-blind)
#0042B0
Tritanopia (blue-blind)
#00536E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #412eb2;
/* rgb */ color: rgb(65, 46, 178);
/* oklch */ color: oklch(41.8% 0.196 280.2);
Tailwind
colors: {
  custom: {
    50: '#8469ca',
    500: '#412eb2',
    950: '#000000',
  },
}
SCSS
$custom: #412eb2;
$custom-light: #8469ca;
$custom-dark: #000000;
JSON
{
  "hex": "#412eb2",
  "rgb": {
    "r": 65,
    "g": 46,
    "b": 178
  },
  "hsl": {
    "h": 248.636,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.41791,
    "c": 0.19613,
    "h": 280.2
  },
  "luminance": 0.06292
}

Semantic roles & 50–950 ramp

primary
#412EB2
secondary
#BAC676
accent
#E246CC
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #412EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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