#412EAF#412EAF

#412EAF is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.5% C 0.192 H 280.6°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#412EAF
RGBrgb(65, 46, 175)
HSLhsl(249, 58%, 43%)
HSVhsv(249, 74%, 69%)
CMYKcmyk(62.9%, 73.7%, 0%, 31.4%)
CIE-LABlab(29.84, 45.27, -65.58)
CIE-LCHlch(29.84, 79.69, 304.62°)
OKLaboklab(41.5% 0.0355 -0.1892)
OKLCHoklch(41.5% 0.192 280.6)
XYZxyz(10.8924, 6.1721, 41.1665)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412EAF #9CAF2E
analogous
#2E5BAF #412EAF #812EAF
triadic
#412EAF #AF412E #2EAF41
tetradic
#412EAF #AF2E5B #9CAF2E #2EAF81
square
#412EAF #AF2E5B #9CAF2E #2EAF81
split-complementary
#412EAF #AF812E #5BAF2E
monochromatic
#1D154E #2F217F #412EAF #5E4BD0 #897BDC

Accessibility & contrast

On white

9.40
#412EAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#412EAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412EAF
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412EAF#FFFFFF#000000##FFFFFF
##412EAF1.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB3
Deuteranopia (green-blind)
#0041AD
Tritanopia (blue-blind)
#00526C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #412eaf;
/* rgb */ color: rgb(65, 46, 175);
/* oklch */ color: oklch(41.5% 0.192 280.6);
Tailwind
colors: {
  custom: {
    50: '#8369c8',
    500: '#412eaf',
    950: '#000000',
  },
}
SCSS
$custom: #412eaf;
$custom-light: #8369c8;
$custom-dark: #000000;
JSON
{
  "hex": "#412eaf",
  "rgb": {
    "r": 65,
    "g": 46,
    "b": 175
  },
  "hsl": {
    "h": 248.837,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.41495,
    "c": 0.19248,
    "h": 280.6
  },
  "luminance": 0.06173
}

Semantic roles & 50–950 ramp

primary
#412EAF
secondary
#B9C574
accent
#E246CB
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #412EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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