#413EB8#413EB8

#413EB8 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.8% C 0.186 H 276.9°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#413EB8
RGBrgb(65, 62, 184)
HSLhsl(241, 50%, 48%)
HSVhsv(241, 66%, 72%)
CMYKcmyk(64.7%, 66.3%, 0%, 27.8%)
CIE-LABlab(34.04, 38.92, -64.04)
CIE-LCHlch(34.04, 74.93, 301.29°)
OKLaboklab(44.76% 0.0223 -0.1847)
OKLCHoklch(44.76% 0.186 276.9)
XYZxyz(12.5515, 8.0287, 46.2264)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413EB8 #B5B83E
analogous
#3E78B8 #413EB8 #7E3EB8
triadic
#413EB8 #B8413E #3EB841
tetradic
#413EB8 #B83E78 #B5B83E #3EB87E
square
#413EB8 #B83E78 #B5B83E #3EB87E
split-complementary
#413EB8 #B87E3E #78B83E
monochromatic
#211F5C #312F8A #413EB8 #6A67CC #9795DB

Accessibility & contrast

On white

8.06
#413EB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#413EB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413EB8
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413EB8#FFFFFF#000000##FFFFFF
##413EB81.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BC
Deuteranopia (green-blind)
#004BB6
Tritanopia (blue-blind)
#005E75
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #413eb8;
/* rgb */ color: rgb(65, 62, 184);
/* oklch */ color: oklch(44.8% 0.186 276.9);
Tailwind
colors: {
  custom: {
    50: '#8474ce',
    500: '#413eb8',
    950: '#000000',
  },
}
SCSS
$custom: #413eb8;
$custom-light: #8474ce;
$custom-dark: #000000;
JSON
{
  "hex": "#413eb8",
  "rgb": {
    "r": 65,
    "g": 62,
    "b": 184
  },
  "hsl": {
    "h": 241.475,
    "s": 49.593,
    "l": 48.235
  },
  "oklch": {
    "l": 0.4476,
    "c": 0.18603,
    "h": 276.9
  },
  "luminance": 0.0803
}

Semantic roles & 50–950 ramp

primary
#413EB8
secondary
#C5C78B
accent
#D94FD6
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #413EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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