#413796#413796

#413796 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.6% C 0.150 H 282.2°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#413796
RGBrgb(65, 55, 150)
HSLhsl(246, 46%, 40%)
HSVhsv(246, 63%, 59%)
CMYKcmyk(56.7%, 63.3%, 0%, 41.2%)
CIE-LABlab(29.56, 31.95, -50.93)
CIE-LCHlch(29.56, 60.12, 302.10°)
OKLaboklab(40.61% 0.0316 -0.1462)
OKLCHoklch(40.61% 0.15 282.2)
XYZxyz(9.0495, 6.0576, 29.5406)
Luminance0.0606 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413796 #8C9637
analogous
#375C96 #413796 #713796
triadic
#413796 #964137 #379641
tetradic
#413796 #96375C #8C9637 #379671
square
#413796 #96375C #8C9637 #379671
split-complementary
#413796 #967137 #5C9637
monochromatic
#1A163C #2E2769 #413796 #594DBE #8279CE

Accessibility & contrast

On white

9.50
#413796 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#413796 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413796
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413796#FFFFFF#000000##FFFFFF
##4137961.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004999
Deuteranopia (green-blind)
#004294
Tritanopia (blue-blind)
#184E61
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #413796;
/* rgb */ color: rgb(65, 55, 150);
/* oklch */ color: oklch(40.6% 0.150 282.2);
Tailwind
colors: {
  custom: {
    50: '#7e6eb6',
    500: '#413796',
    950: '#000000',
  },
}
SCSS
$custom: #413796;
$custom-light: #7e6eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#413796",
  "rgb": {
    "r": 65,
    "g": 55,
    "b": 150
  },
  "hsl": {
    "h": 246.316,
    "s": 46.341,
    "l": 40.196
  },
  "oklch": {
    "l": 0.40605,
    "c": 0.14962,
    "h": 282.2
  },
  "luminance": 0.06058
}

Semantic roles & 50–950 ramp

primary
#413796
secondary
#B0B772
accent
#D652C8
background
#F8F6FB
surface
#EFECF6
border
#CAC7D0
text
#0B0711
muted
#7C7A80

Preview Lab

Preview with #413796

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

Preview Lab → · Contrast checker → · Palette generator →

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