#413894#413894

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

Color values

HEX#413894
RGBrgb(65, 56, 148)
HSLhsl(246, 45%, 40%)
HSVhsv(246, 62%, 58%)
CMYKcmyk(56.1%, 62.2%, 0%, 42%)
CIE-LABlab(29.64, 30.66, -49.57)
CIE-LCHlch(29.64, 58.29, 301.73°)
OKLaboklab(40.61% 0.0307 -0.1422)
OKLCHoklch(40.61% 0.146 282.2)
XYZxyz(8.9378, 6.0897, 28.7157)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413894 #8B9438
analogous
#385D94 #413894 #6F3894
triadic
#413894 #944138 #389441
tetradic
#413894 #94385D #8B9438 #38946F
square
#413894 #94385D #8B9438 #38946F
split-complementary
#413894 #946F38 #5D9438
monochromatic
#1A163B #2E2768 #413894 #584DBC #827ACD

Accessibility & contrast

On white

9.47
#413894 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#413894 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413894
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413894#FFFFFF#000000##FFFFFF
##4138941.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004997
Deuteranopia (green-blind)
#004392
Tritanopia (blue-blind)
#1A4E60
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #413894;
/* rgb */ color: rgb(65, 56, 148);
/* oklch */ color: oklch(40.6% 0.146 282.2);
Tailwind
colors: {
  custom: {
    50: '#7e6fb4',
    500: '#413894',
    950: '#000000',
  },
}
SCSS
$custom: #413894;
$custom-light: #7e6fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#413894",
  "rgb": {
    "r": 65,
    "g": 56,
    "b": 148
  },
  "hsl": {
    "h": 245.87,
    "s": 45.098,
    "l": 40
  },
  "oklch": {
    "l": 0.40614,
    "c": 0.14553,
    "h": 282.2
  },
  "luminance": 0.0609
}

Semantic roles & 50–950 ramp

primary
#413894
secondary
#AFB672
accent
#D553C8
background
#F8F6FB
surface
#EFECF6
border
#CAC7D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #413894

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

Preview Lab → · Contrast checker → · Palette generator →

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