#413E98#413E98

#413E98 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.0% C 0.143 H 279.8°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#413E98
RGBrgb(65, 62, 152)
HSLhsl(242, 42%, 42%)
HSVhsv(242, 59%, 60%)
CMYKcmyk(57.2%, 59.2%, 0%, 40.4%)
CIE-LABlab(31.43, 28.16, -49.11)
CIE-LCHlch(31.43, 56.61, 299.83°)
OKLaboklab(42.03% 0.0243 -0.1408)
OKLCHoklch(42.03% 0.143 279.8)
XYZxyz(9.5683, 6.8354, 30.5148)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413E98 #95983E
analogous
#3E6898 #413E98 #6E3E98
triadic
#413E98 #98413E #3E9841
tetradic
#413E98 #983E68 #95983E #3E986E
square
#413E98 #983E68 #95983E #3E986E
split-complementary
#413E98 #986E3E #68983E
monochromatic
#1C1B41 #2E2C6D #413E98 #5C58BB #8684CD

Accessibility & contrast

On white

8.87
#413E98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#413E98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413E98
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413E98#FFFFFF#000000##FFFFFF
##413E981.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9B
Deuteranopia (green-blind)
#004696
Tritanopia (blue-blind)
#135365
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #413e98;
/* rgb */ color: rgb(65, 62, 152);
/* oklch */ color: oklch(42.0% 0.143 279.8);
Tailwind
colors: {
  custom: {
    50: '#7e73b7',
    500: '#413e98',
    950: '#000000',
  },
}
SCSS
$custom: #413e98;
$custom-light: #7e73b7;
$custom-dark: #000000;
JSON
{
  "hex": "#413e98",
  "rgb": {
    "r": 65,
    "g": 62,
    "b": 152
  },
  "hsl": {
    "h": 242,
    "s": 42.056,
    "l": 41.961
  },
  "oklch": {
    "l": 0.42031,
    "c": 0.14293,
    "h": 279.8
  },
  "luminance": 0.06836
}

Semantic roles & 50–950 ramp

primary
#413E98
secondary
#B5B77B
accent
#D256CE
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0811
muted
#7C7B80

Preview Lab

Preview with #413E98

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

Preview Lab → · Contrast checker → · Palette generator →

#413E98 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva