#413794#413794

#413794 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.4% C 0.147 H 282.5°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#413794
RGBrgb(65, 55, 148)
HSLhsl(246, 46%, 40%)
HSVhsv(246, 63%, 58%)
CMYKcmyk(56.1%, 62.8%, 0%, 42%)
CIE-LABlab(29.40, 31.29, -49.96)
CIE-LCHlch(29.40, 58.95, 302.05°)
OKLaboklab(40.44% 0.0317 -0.1434)
OKLCHoklch(40.44% 0.147 282.5)
XYZxyz(8.8898, 5.9938, 28.6997)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413794 #8A9437
analogous
#375B94 #413794 #703794
triadic
#413794 #944137 #379441
tetradic
#413794 #94375B #8A9437 #379470
square
#413794 #94375B #8A9437 #379470
split-complementary
#413794 #947037 #5B9437
monochromatic
#1A163B #2D2667 #413794 #584CBC #8278CD

Accessibility & contrast

On white

9.55
#413794 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#413794 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413794
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413794#FFFFFF#000000##FFFFFF
##4137941.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004897
Deuteranopia (green-blind)
#004292
Tritanopia (blue-blind)
#1A4D60
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #413794;
/* rgb */ color: rgb(65, 55, 148);
/* oklch */ color: oklch(40.4% 0.147 282.5);
Tailwind
colors: {
  custom: {
    50: '#7e6eb4',
    500: '#413794',
    950: '#000000',
  },
}
SCSS
$custom: #413794;
$custom-light: #7e6eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#413794",
  "rgb": {
    "r": 65,
    "g": 55,
    "b": 148
  },
  "hsl": {
    "h": 246.452,
    "s": 45.813,
    "l": 39.804
  },
  "oklch": {
    "l": 0.40437,
    "c": 0.14688,
    "h": 282.5
  },
  "luminance": 0.05994
}

Semantic roles & 50–950 ramp

primary
#413794
secondary
#AEB671
accent
#D552C7
background
#F8F6FB
surface
#EFECF6
border
#CAC7D0
text
#0B0711
muted
#7C7A80

Preview Lab

Preview with #413794

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

Preview Lab → · Contrast checker → · Palette generator →

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