#413EC2#413EC2

#413EC2 is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.7% C 0.199 H 276.1°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#413EC2
RGBrgb(65, 62, 194)
HSLhsl(241, 52%, 50%)
HSVhsv(241, 68%, 76%)
CMYKcmyk(66.5%, 68%, 0%, 23.9%)
CIE-LABlab(34.93, 42.23, -68.47)
CIE-LCHlch(34.93, 80.44, 301.67°)
OKLaboklab(45.67% 0.0211 -0.1977)
OKLCHoklch(45.67% 0.199 276.1)
XYZxyz(13.6370, 8.4629, 51.9433)
Luminance0.0846 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413EC2 #BFC23E
analogous
#3E7DC2 #413EC2 #833EC2
triadic
#413EC2 #C2413E #3EC241
tetradic
#413EC2 #C23E7D #BFC23E #3EC283
square
#413EC2 #C23E7D #BFC23E #3EC283
split-complementary
#413EC2 #C2833E #7DC23E
monochromatic
#222066 #312F94 #413EC2 #6F6DD1 #9D9BDF

Accessibility & contrast

On white

7.80
#413EC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#413EC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413EC2
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413EC2#FFFFFF#000000##FFFFFF
##413EC21.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C6
Deuteranopia (green-blind)
#004CC0
Tritanopia (blue-blind)
#00617B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #413ec2;
/* rgb */ color: rgb(65, 62, 194);
/* oklch */ color: oklch(45.7% 0.199 276.1);
Tailwind
colors: {
  custom: {
    50: '#8674d6',
    500: '#413ec2',
    950: '#000000',
  },
}
SCSS
$custom: #413ec2;
$custom-light: #8674d6;
$custom-dark: #000000;
JSON
{
  "hex": "#413ec2",
  "rgb": {
    "r": 65,
    "g": 62,
    "b": 194
  },
  "hsl": {
    "h": 241.364,
    "s": 51.969,
    "l": 50.196
  },
  "oklch": {
    "l": 0.45673,
    "c": 0.19878,
    "h": 276.1
  },
  "luminance": 0.08464
}

Semantic roles & 50–950 ramp

primary
#413EC2
secondary
#CACB90
accent
#DB4CD8
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0D0814
muted
#7D7B83

Preview Lab

Preview with #413EC2

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

Preview Lab → · Contrast checker → · Palette generator →

#413EC2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva