#412FA0#412FA0

#412FA0 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.2% C 0.173 H 282.6°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#412FA0
RGBrgb(65, 47, 160)
HSLhsl(250, 55%, 41%)
HSVhsv(250, 71%, 63%)
CMYKcmyk(59.4%, 70.6%, 0%, 37.3%)
CIE-LABlab(28.63, 40.00, -58.54)
CIE-LCHlch(28.63, 70.90, 304.35°)
OKLaboklab(40.2% 0.0378 -0.1686)
OKLCHoklch(40.2% 0.173 282.6)
XYZxyz(9.5397, 5.6943, 33.8473)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412FA0 #8EA02F
analogous
#2F55A0 #412FA0 #7A2FA0
triadic
#412FA0 #A0412F #2FA041
tetradic
#412FA0 #A02F55 #8EA02F #2FA07A
square
#412FA0 #A02F55 #8EA02F #2FA07A
split-complementary
#412FA0 #A07A2F #55A02F
monochromatic
#1B1341 #2E2171 #412FA0 #5944C8 #8373D6

Accessibility & contrast

On white

9.82
#412FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#412FA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412FA0
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412FA0#FFFFFF#000000##FFFFFF
##412FA01.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A3
Deuteranopia (green-blind)
#00409E
Tritanopia (blue-blind)
#044D64
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #412fa0;
/* rgb */ color: rgb(65, 47, 160);
/* oklch */ color: oklch(40.2% 0.173 282.6);
Tailwind
colors: {
  custom: {
    50: '#8069bd',
    500: '#412fa0',
    950: '#000000',
  },
}
SCSS
$custom: #412fa0;
$custom-light: #8069bd;
$custom-dark: #000000;
JSON
{
  "hex": "#412fa0",
  "rgb": {
    "r": 65,
    "g": 47,
    "b": 160
  },
  "hsl": {
    "h": 249.558,
    "s": 54.589,
    "l": 40.588
  },
  "oklch": {
    "l": 0.40199,
    "c": 0.17276,
    "h": 282.6
  },
  "luminance": 0.05695
}

Semantic roles & 50–950 ramp

primary
#412FA0
secondary
#B1BE6D
accent
#DE4AC6
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #412FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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