#412FE2#412FE2

#412FE2 is a mid, highly saturated blue. Relative luminance 0.086; OKLCH L 46.9% C 0.251 H 275.2°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#412FE2
RGBrgb(65, 47, 226)
HSLhsl(246, 76%, 54%)
HSVhsv(246, 79%, 89%)
CMYKcmyk(71.2%, 79.2%, 0%, 11.4%)
CIE-LABlab(35.29, 60.17, -86.38)
CIE-LCHlch(35.29, 105.27, 304.86°)
OKLaboklab(46.88% 0.0227 -0.2498)
OKLCHoklch(46.88% 0.251 275.2)
XYZxyz(16.9194, 8.6462, 72.7140)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412FE2 #D0E22F
analogous
#2F76E2 #412FE2 #9B2FE2
triadic
#412FE2 #E2412F #2FE241
tetradic
#412FE2 #E22F76 #D0E22F #2FE29B
square
#412FE2 #E22F76 #D0E22F #2FE29B
split-complementary
#412FE2 #E29B2F #76E22F
monochromatic
#1E1284 #2A1ABA #412FE2 #7265E9 #A39AF1

Accessibility & contrast

On white

7.69
#412FE2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#412FE2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412FE2
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412FE2#FFFFFF#000000##FFFFFF
##412FE21.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BE7
Deuteranopia (green-blind)
#004BDF
Tritanopia (blue-blind)
#006789
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #412fe2;
/* rgb */ color: rgb(65, 47, 226);
/* oklch */ color: oklch(46.9% 0.251 275.2);
Tailwind
colors: {
  custom: {
    50: '#8e6ded',
    500: '#412fe2',
    950: '#000000',
  },
}
SCSS
$custom: #412fe2;
$custom-light: #8e6ded;
$custom-dark: #000000;
JSON
{
  "hex": "#412fe2",
  "rgb": {
    "r": 65,
    "g": 47,
    "b": 226
  },
  "hsl": {
    "h": 246.034,
    "s": 75.527,
    "l": 53.529
  },
  "oklch": {
    "l": 0.4688,
    "c": 0.25079,
    "h": 275.2
  },
  "luminance": 0.08648
}

Semantic roles & 50–950 ramp

primary
#412FE2
secondary
#D5DD90
accent
#F236DF
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0E0717
muted
#7E7A85

Preview Lab

Preview with #412FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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