#413986#413986

#413986 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.7% C 0.124 H 283.9°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#413986
RGBrgb(65, 57, 134)
HSLhsl(246, 40%, 37%)
HSVhsv(246, 57%, 53%)
CMYKcmyk(51.5%, 57.5%, 0%, 47.5%)
CIE-LABlab(28.83, 25.40, -42.24)
CIE-LCHlch(28.83, 49.29, 301.02°)
OKLaboklab(39.68% 0.0298 -0.1207)
OKLCHoklch(39.68% 0.124 283.9)
XYZxyz(7.9449, 5.7709, 23.2449)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413986 #7E8639
analogous
#395786 #413986 #683986
triadic
#413986 #864139 #398641
tetradic
#413986 #863957 #7E8639 #398668
square
#413986 #863957 #7E8639 #398668
split-complementary
#413986 #866839 #578639
monochromatic
#171430 #2C275B #413986 #564BB1 #7D75C4

Accessibility & contrast

On white

9.75
#413986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#413986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413986
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413986#FFFFFF#000000##FFFFFF
##4139861.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084689
Deuteranopia (green-blind)
#014184
Tritanopia (blue-blind)
#274A59
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #413986;
/* rgb */ color: rgb(65, 57, 134);
/* oklch */ color: oklch(39.7% 0.124 283.9);
Tailwind
colors: {
  custom: {
    50: '#7b6faa',
    500: '#413986',
    950: '#000000',
  },
}
SCSS
$custom: #413986;
$custom-light: #7b6faa;
$custom-dark: #000000;
JSON
{
  "hex": "#413986",
  "rgb": {
    "r": 65,
    "g": 57,
    "b": 134
  },
  "hsl": {
    "h": 246.234,
    "s": 40.314,
    "l": 37.451
  },
  "oklch": {
    "l": 0.3968,
    "c": 0.12432,
    "h": 283.9
  },
  "luminance": 0.05771
}

Semantic roles & 50–950 ramp

primary
#413986
secondary
#A7AD6D
accent
#D058C4
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#0A0710
muted
#7C7A7F

Preview Lab

Preview with #413986

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

Preview Lab → · Contrast checker → · Palette generator →

#413986 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva