#412EA6#412EA6

#412EA6 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.6% C 0.181 H 281.9°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#412EA6
RGBrgb(65, 46, 166)
HSLhsl(250, 57%, 42%)
HSVhsv(250, 72%, 65%)
CMYKcmyk(60.8%, 72.3%, 0%, 34.9%)
CIE-LABlab(28.98, 42.46, -61.59)
CIE-LCHlch(28.98, 74.81, 304.58°)
OKLaboklab(40.62% 0.0374 -0.1775)
OKLCHoklch(40.62% 0.181 281.9)
XYZxyz(10.0378, 5.8303, 36.6654)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412EA6 #93A62E
analogous
#2E57A6 #412EA6 #7D2EA6
triadic
#412EA6 #A6412E #2EA641
tetradic
#412EA6 #A62E57 #93A62E #2EA67D
square
#412EA6 #A62E57 #93A62E #2EA67D
split-complementary
#412EA6 #A67D2E #57A62E
monochromatic
#1B1346 #2E2176 #412EA6 #5B46CC #8576D9

Accessibility & contrast

On white

9.69
#412EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#412EA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412EA6
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412EA6#FFFFFF#000000##FFFFFF
##412EA61.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AA
Deuteranopia (green-blind)
#0040A4
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #412ea6;
/* rgb */ color: rgb(65, 46, 166);
/* oklch */ color: oklch(40.6% 0.181 281.9);
Tailwind
colors: {
  custom: {
    50: '#8269c1',
    500: '#412ea6',
    950: '#000000',
  },
}
SCSS
$custom: #412ea6;
$custom-light: #8269c1;
$custom-dark: #000000;
JSON
{
  "hex": "#412ea6",
  "rgb": {
    "r": 65,
    "g": 46,
    "b": 166
  },
  "hsl": {
    "h": 249.5,
    "s": 56.604,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40621,
    "c": 0.18142,
    "h": 281.9
  },
  "luminance": 0.05831
}

Semantic roles & 50–950 ramp

primary
#412EA6
secondary
#B4C16F
accent
#E048C8
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #412EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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