#413FB9#413FB9

#413FB9 is a mid, vivid blue. Relative luminance 0.082; OKLCH L 45.0% C 0.186 H 276.6°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#413FB9
RGBrgb(65, 63, 185)
HSLhsl(241, 49%, 49%)
HSVhsv(241, 66%, 73%)
CMYKcmyk(64.9%, 65.9%, 0%, 27.5%)
CIE-LABlab(34.36, 38.64, -64.11)
CIE-LCHlch(34.36, 74.86, 301.08°)
OKLaboklab(45.01% 0.0214 -0.1849)
OKLCHoklch(45.01% 0.186 276.6)
XYZxyz(12.7116, 8.1805, 46.7987)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413FB9 #B7B93F
analogous
#3F7AB9 #413FB9 #7E3FB9
triadic
#413FB9 #B9413F #3FB941
tetradic
#413FB9 #B93F7A #B7B93F #3FB97E
square
#413FB9 #B93F7A #B7B93F #3FB97E
split-complementary
#413FB9 #B97E3F #7AB93F
monochromatic
#21205E #312F8B #413FB9 #6B69CC #9897DC

Accessibility & contrast

On white

7.97
#413FB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#413FB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413FB9
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413FB9#FFFFFF#000000##FFFFFF
##413FB91.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BD
Deuteranopia (green-blind)
#004BB7
Tritanopia (blue-blind)
#005F76
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #413fb9;
/* rgb */ color: rgb(65, 63, 185);
/* oklch */ color: oklch(45.0% 0.186 276.6);
Tailwind
colors: {
  custom: {
    50: '#8475cf',
    500: '#413fb9',
    950: '#000000',
  },
}
SCSS
$custom: #413fb9;
$custom-light: #8475cf;
$custom-dark: #000000;
JSON
{
  "hex": "#413fb9",
  "rgb": {
    "r": 65,
    "g": 63,
    "b": 185
  },
  "hsl": {
    "h": 240.984,
    "s": 49.194,
    "l": 48.627
  },
  "oklch": {
    "l": 0.45014,
    "c": 0.18615,
    "h": 276.6
  },
  "luminance": 0.08182
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #413FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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