#413795#413795

#413795 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.5% C 0.148 H 282.3°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#413795
RGBrgb(65, 55, 149)
HSLhsl(246, 46%, 40%)
HSVhsv(246, 63%, 58%)
CMYKcmyk(56.4%, 63.1%, 0%, 41.6%)
CIE-LABlab(29.48, 31.62, -50.45)
CIE-LCHlch(29.48, 59.53, 302.08°)
OKLaboklab(40.52% 0.0317 -0.1448)
OKLCHoklch(40.52% 0.148 282.3)
XYZxyz(8.9693, 6.0256, 29.1184)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413795 #8B9537
analogous
#375C95 #413795 #703795
triadic
#413795 #954137 #379541
tetradic
#413795 #95375C #8B9537 #379570
square
#413795 #95375C #8B9537 #379570
split-complementary
#413795 #957037 #5C9537
monochromatic
#1A163C #2E2768 #413795 #584CBD #8279CD

Accessibility & contrast

On white

9.52
#413795 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #413795
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413795#FFFFFF#000000##FFFFFF
##4137951.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004998
Deuteranopia (green-blind)
#004293
Tritanopia (blue-blind)
#194E60
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #413795;
/* rgb */ color: rgb(65, 55, 149);
/* oklch */ color: oklch(40.5% 0.148 282.3);
Tailwind
colors: {
  custom: {
    50: '#7e6eb5',
    500: '#413795',
    950: '#000000',
  },
}
SCSS
$custom: #413795;
$custom-light: #7e6eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#413795",
  "rgb": {
    "r": 65,
    "g": 55,
    "b": 149
  },
  "hsl": {
    "h": 246.383,
    "s": 46.078,
    "l": 40
  },
  "oklch": {
    "l": 0.40521,
    "c": 0.14824,
    "h": 282.3
  },
  "luminance": 0.06026
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #413795

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

Preview Lab → · Contrast checker → · Palette generator →

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