#413A86#413A86

#413A86 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.9% C 0.123 H 283.5°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#413A86
RGBrgb(65, 58, 134)
HSLhsl(246, 40%, 38%)
HSVhsv(246, 57%, 53%)
CMYKcmyk(51.5%, 56.7%, 0%, 47.5%)
CIE-LABlab(29.08, 24.75, -41.83)
CIE-LCHlch(29.08, 48.60, 300.61°)
OKLaboklab(39.87% 0.0286 -0.1195)
OKLCHoklch(39.87% 0.123 283.5)
XYZxyz(7.9948, 5.8707, 23.2615)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413A86 #7F863A
analogous
#3A5986 #413A86 #673A86
triadic
#413A86 #86413A #3A8641
tetradic
#413A86 #863A59 #7F863A #3A8667
square
#413A86 #863A59 #7F863A #3A8667
split-complementary
#413A86 #86673A #59863A
monochromatic
#181531 #2C285B #413A86 #564CB1 #7E76C4

Accessibility & contrast

On white

9.66
#413A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#413A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413A86
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413A86#FFFFFF#000000##FFFFFF
##413A861.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4789
Deuteranopia (green-blind)
#054284
Tritanopia (blue-blind)
#274B5A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #413a86;
/* rgb */ color: rgb(65, 58, 134);
/* oklch */ color: oklch(39.9% 0.123 283.5);
Tailwind
colors: {
  custom: {
    50: '#7b70aa',
    500: '#413a86',
    950: '#000000',
  },
}
SCSS
$custom: #413a86;
$custom-light: #7b70aa;
$custom-dark: #000000;
JSON
{
  "hex": "#413a86",
  "rgb": {
    "r": 65,
    "g": 58,
    "b": 134
  },
  "hsl": {
    "h": 245.526,
    "s": 39.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.39871,
    "c": 0.12285,
    "h": 283.5
  },
  "luminance": 0.05871
}

Semantic roles & 50–950 ramp

primary
#413A86
secondary
#A7AD6F
accent
#CF58C5
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#0A0710
muted
#7C7A7F

Preview Lab

Preview with #413A86

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

Preview Lab → · Contrast checker → · Palette generator →

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