#413DC2#413DC2

#413DC2 is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.5% C 0.200 H 276.3°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#413DC2
RGBrgb(65, 61, 194)
HSLhsl(242, 52%, 50%)
HSVhsv(242, 69%, 76%)
CMYKcmyk(66.5%, 68.6%, 0%, 23.9%)
CIE-LABlab(34.71, 42.82, -68.82)
CIE-LCHlch(34.71, 81.06, 301.89°)
OKLaboklab(45.52% 0.0218 -0.1987)
OKLCHoklch(45.52% 0.2 276.3)
XYZxyz(13.5831, 8.3552, 51.9254)
Luminance0.0836 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413DC2 #BEC23D
analogous
#3D7BC2 #413DC2 #843DC2
triadic
#413DC2 #C2413D #3DC241
tetradic
#413DC2 #C23D7B #BEC23D #3DC284
square
#413DC2 #C23D7B #BEC23D #3DC284
split-complementary
#413DC2 #C2843D #7BC23D
monochromatic
#222065 #312E93 #413DC2 #6F6CD1 #9C9ADF

Accessibility & contrast

On white

7.86
#413DC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#413DC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413DC2
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413DC2#FFFFFF#000000##FFFFFF
##413DC21.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #413dc2;
/* rgb */ color: rgb(65, 61, 194);
/* oklch */ color: oklch(45.5% 0.200 276.3);
Tailwind
colors: {
  custom: {
    50: '#8673d6',
    500: '#413dc2',
    950: '#000000',
  },
}
SCSS
$custom: #413dc2;
$custom-light: #8673d6;
$custom-dark: #000000;
JSON
{
  "hex": "#413dc2",
  "rgb": {
    "r": 65,
    "g": 61,
    "b": 194
  },
  "hsl": {
    "h": 241.805,
    "s": 52.157,
    "l": 50
  },
  "oklch": {
    "l": 0.45516,
    "c": 0.1999,
    "h": 276.3
  },
  "luminance": 0.08356
}

Semantic roles & 50–950 ramp

primary
#413DC2
secondary
#C9CB90
accent
#DC4CD7
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0D0814
muted
#7D7B83

Preview Lab

Preview with #413DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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