#412EA9#412EA9

#412EA9 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.9% C 0.185 H 281.5°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#412EA9
RGBrgb(65, 46, 169)
HSLhsl(249, 57%, 42%)
HSVhsv(249, 73%, 66%)
CMYKcmyk(61.5%, 72.8%, 0%, 33.7%)
CIE-LABlab(29.26, 43.40, -62.93)
CIE-LCHlch(29.26, 76.44, 304.59°)
OKLaboklab(40.91% 0.0368 -0.1814)
OKLCHoklch(40.91% 0.185 281.5)
XYZxyz(10.3162, 5.9416, 38.1317)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412EA9 #96A92E
analogous
#2E59A9 #412EA9 #7E2EA9
triadic
#412EA9 #A9412E #2EA941
tetradic
#412EA9 #A92E59 #96A92E #2EA97E
square
#412EA9 #A92E59 #96A92E #2EA97E
split-complementary
#412EA9 #A97E2E #59A92E
monochromatic
#1C1449 #2E2179 #412EA9 #5C47CD #8777DA

Accessibility & contrast

On white

9.60
#412EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#412EA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412EA9
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412EA9#FFFFFF#000000##FFFFFF
##412EA91.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AD
Deuteranopia (green-blind)
#0040A7
Tritanopia (blue-blind)
#005068
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #412ea9;
/* rgb */ color: rgb(65, 46, 169);
/* oklch */ color: oklch(40.9% 0.185 281.5);
Tailwind
colors: {
  custom: {
    50: '#8269c4',
    500: '#412ea9',
    950: '#000000',
  },
}
SCSS
$custom: #412ea9;
$custom-light: #8269c4;
$custom-dark: #000000;
JSON
{
  "hex": "#412ea9",
  "rgb": {
    "r": 65,
    "g": 46,
    "b": 169
  },
  "hsl": {
    "h": 249.268,
    "s": 57.209,
    "l": 42.157
  },
  "oklch": {
    "l": 0.4091,
    "c": 0.18513,
    "h": 281.5
  },
  "luminance": 0.05942
}

Semantic roles & 50–950 ramp

primary
#412EA9
secondary
#B6C271
accent
#E047C9
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #412EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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