#413FC2#413FC2

#413FC2 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.8% C 0.198 H 275.9°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#413FC2
RGBrgb(65, 63, 194)
HSLhsl(241, 52%, 50%)
HSVhsv(241, 68%, 76%)
CMYKcmyk(66.5%, 67.5%, 0%, 23.9%)
CIE-LABlab(35.15, 41.64, -68.11)
CIE-LCHlch(35.15, 79.83, 301.44°)
OKLaboklab(45.83% 0.0204 -0.1966)
OKLCHoklch(45.83% 0.198 275.9)
XYZxyz(13.6919, 8.5727, 51.9616)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413FC2 #C0C23F
analogous
#3F7EC2 #413FC2 #823FC2
triadic
#413FC2 #C2413F #3FC241
tetradic
#413FC2 #C23F7E #C0C23F #3FC282
square
#413FC2 #C23F7E #C0C23F #3FC282
split-complementary
#413FC2 #C2823F #7EC23F
monochromatic
#222066 #312F95 #413FC2 #6F6DD1 #9D9CE0

Accessibility & contrast

On white

7.74
#413FC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#413FC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413FC2
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413FC2#FFFFFF#000000##FFFFFF
##413FC21.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C6
Deuteranopia (green-blind)
#004DC0
Tritanopia (blue-blind)
#00627B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #413fc2;
/* rgb */ color: rgb(65, 63, 194);
/* oklch */ color: oklch(45.8% 0.198 275.9);
Tailwind
colors: {
  custom: {
    50: '#8675d6',
    500: '#413fc2',
    950: '#000000',
  },
}
SCSS
$custom: #413fc2;
$custom-light: #8675d6;
$custom-dark: #000000;
JSON
{
  "hex": "#413fc2",
  "rgb": {
    "r": 65,
    "g": 63,
    "b": 194
  },
  "hsl": {
    "h": 240.916,
    "s": 51.779,
    "l": 50.392
  },
  "oklch": {
    "l": 0.45831,
    "c": 0.19766,
    "h": 275.9
  },
  "luminance": 0.08574
}

Semantic roles & 50–950 ramp

primary
#413FC2
secondary
#CBCC91
accent
#DB4DD9
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0D0814
muted
#7D7B83

Preview Lab

Preview with #413FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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