#413786#413786

#413786 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.3% C 0.127 H 284.7°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#413786
RGBrgb(65, 55, 134)
HSLhsl(248, 42%, 37%)
HSVhsv(248, 59%, 53%)
CMYKcmyk(51.5%, 59%, 0%, 47.5%)
CIE-LABlab(28.32, 26.70, -43.06)
CIE-LCHlch(28.32, 50.67, 301.79°)
OKLaboklab(39.3% 0.0322 -0.1231)
OKLCHoklch(39.3% 0.127 284.7)
XYZxyz(7.8480, 5.5770, 23.2126)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413786 #7C8637
analogous
#375586 #413786 #693786
triadic
#413786 #864137 #378641
tetradic
#413786 #863755 #7C8637 #378669
square
#413786 #863755 #7C8637 #378669
split-complementary
#413786 #866937 #558637
monochromatic
#17132F #2C255B #413786 #5649B1 #7D72C5

Accessibility & contrast

On white

9.93
#413786 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#413786 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413786
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413786#FFFFFF#000000##FFFFFF
##4137861.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004589
Deuteranopia (green-blind)
#004084
Tritanopia (blue-blind)
#284959
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #413786;
/* rgb */ color: rgb(65, 55, 134);
/* oklch */ color: oklch(39.3% 0.127 284.7);
Tailwind
colors: {
  custom: {
    50: '#7b6eaa',
    500: '#413786',
    950: '#000000',
  },
}
SCSS
$custom: #413786;
$custom-light: #7b6eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#413786",
  "rgb": {
    "r": 65,
    "g": 55,
    "b": 134
  },
  "hsl": {
    "h": 247.595,
    "s": 41.799,
    "l": 37.059
  },
  "oklch": {
    "l": 0.39304,
    "c": 0.12725,
    "h": 284.7
  },
  "luminance": 0.05577
}

Semantic roles & 50–950 ramp

primary
#413786
secondary
#A5AE6B
accent
#D256C2
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#0A0710
muted
#7C7A7F

Preview Lab

Preview with #413786

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

Preview Lab → · Contrast checker → · Palette generator →

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