#412DAF#412DAF

#412DAF is a dark, vivid blue. Relative luminance 0.061; OKLCH L 41.4% C 0.194 H 280.8°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#412DAF
RGBrgb(65, 45, 175)
HSLhsl(249, 59%, 43%)
HSVhsv(249, 74%, 69%)
CMYKcmyk(62.9%, 74.3%, 0%, 31.4%)
CIE-LABlab(29.65, 45.81, -65.90)
CIE-LCHlch(29.65, 80.25, 304.81°)
OKLaboklab(41.36% 0.0362 -0.1901)
OKLCHoklch(41.36% 0.194 280.8)
XYZxyz(10.8538, 6.0949, 41.1536)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412DAF #9BAF2D
analogous
#2D5AAF #412DAF #822DAF
triadic
#412DAF #AF412D #2DAF41
tetradic
#412DAF #AF2D5A #9BAF2D #2DAF82
square
#412DAF #AF2D5A #9BAF2D #2DAF82
split-complementary
#412DAF #AF822D #5AAF2D
monochromatic
#1D144E #2F207E #412DAF #5E49D0 #897ADD

Accessibility & contrast

On white

9.46
#412DAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#412DAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412DAF
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412DAF#FFFFFF#000000##FFFFFF
##412DAF1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #412daf;
/* rgb */ color: rgb(65, 45, 175);
/* oklch */ color: oklch(41.4% 0.194 280.8);
Tailwind
colors: {
  custom: {
    50: '#8369c8',
    500: '#412daf',
    950: '#000000',
  },
}
SCSS
$custom: #412daf;
$custom-light: #8369c8;
$custom-dark: #000000;
JSON
{
  "hex": "#412daf",
  "rgb": {
    "r": 65,
    "g": 45,
    "b": 175
  },
  "hsl": {
    "h": 249.231,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.41359,
    "c": 0.19351,
    "h": 280.8
  },
  "luminance": 0.06096
}

Semantic roles & 50–950 ramp

primary
#412DAF
secondary
#B8C573
accent
#E246CA
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #412DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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