#412EB9#412EB9

#412EB9 is a dark, highly saturated blue. Relative luminance 0.066; OKLCH L 42.5% C 0.205 H 279.4°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#412EB9
RGBrgb(65, 46, 185)
HSLhsl(248, 60%, 45%)
HSVhsv(248, 75%, 73%)
CMYKcmyk(64.9%, 75.1%, 0%, 27.5%)
CIE-LABlab(30.83, 48.36, -69.91)
CIE-LCHlch(30.83, 85.00, 304.67°)
OKLaboklab(42.49% 0.0332 -0.2018)
OKLCHoklch(42.49% 0.205 279.4)
XYZxyz(11.9111, 6.5796, 46.5318)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412EB9 #A6B92E
analogous
#2E61B9 #412EB9 #862EB9
triadic
#412EB9 #B9412E #2EB941
tetradic
#412EB9 #B92E61 #A6B92E #2EB986
square
#412EB9 #B92E61 #A6B92E #2EB986
split-complementary
#412EB9 #B9862E #61B92E
monochromatic
#1F1657 #302288 #412EB9 #6251D4 #8E82E0

Accessibility & contrast

On white

9.07
#412EB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #412EB9
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412EB9#FFFFFF#000000##FFFFFF
##412EB91.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBD
Deuteranopia (green-blind)
#0043B6
Tritanopia (blue-blind)
#005671
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #412eb9;
/* rgb */ color: rgb(65, 46, 185);
/* oklch */ color: oklch(42.5% 0.205 279.4);
Tailwind
colors: {
  custom: {
    50: '#856acf',
    500: '#412eb9',
    950: '#000000',
  },
}
SCSS
$custom: #412eb9;
$custom-light: #856acf;
$custom-dark: #000000;
JSON
{
  "hex": "#412eb9",
  "rgb": {
    "r": 65,
    "g": 46,
    "b": 185
  },
  "hsl": {
    "h": 248.201,
    "s": 60.173,
    "l": 45.294
  },
  "oklch": {
    "l": 0.4249,
    "c": 0.20453,
    "h": 279.4
  },
  "luminance": 0.06581
}

Semantic roles & 50–950 ramp

primary
#412EB9
secondary
#BEC97A
accent
#E344CE
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #412EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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