#413E8A#413E8A

#413E8A is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.9% C 0.123 H 281.3°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#413E8A
RGBrgb(65, 62, 138)
HSLhsl(242, 38%, 39%)
HSVhsv(242, 55%, 54%)
CMYKcmyk(52.9%, 55.1%, 0%, 45.9%)
CIE-LABlab(30.41, 23.46, -42.17)
CIE-LCHlch(30.41, 48.26, 299.08°)
OKLaboklab(40.95% 0.024 -0.1204)
OKLCHoklch(40.95% 0.123 281.3)
XYZxyz(8.4886, 6.4036, 24.8285)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413E8A #878A3E
analogous
#3E618A #413E8A #673E8A
triadic
#413E8A #8A413E #3E8A41
tetradic
#413E8A #8A3E61 #878A3E #3E8A67
square
#413E8A #8A3E61 #878A3E #3E8A67
split-complementary
#413E8A #8A673E #618A3E
monochromatic
#191836 #2D2B60 #413E8A #5753B2 #807EC5

Accessibility & contrast

On white

9.21
#413E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#413E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413E8A
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413E8A#FFFFFF#000000##FFFFFF
##413E8A1.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134A8D
Deuteranopia (green-blind)
#0A4588
Tritanopia (blue-blind)
#244F5E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #413e8a;
/* rgb */ color: rgb(65, 62, 138);
/* oklch */ color: oklch(40.9% 0.123 281.3);
Tailwind
colors: {
  custom: {
    50: '#7c73ad',
    500: '#413e8a',
    950: '#000000',
  },
}
SCSS
$custom: #413e8a;
$custom-light: #7c73ad;
$custom-dark: #000000;
JSON
{
  "hex": "#413e8a",
  "rgb": {
    "r": 65,
    "g": 62,
    "b": 138
  },
  "hsl": {
    "h": 242.368,
    "s": 38,
    "l": 39.216
  },
  "oklch": {
    "l": 0.40948,
    "c": 0.12282,
    "h": 281.3
  },
  "luminance": 0.06404
}

Semantic roles & 50–950 ramp

primary
#413E8A
secondary
#ADAF75
accent
#CE5AC9
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#0A0810
muted
#7C7B7F

Preview Lab

Preview with #413E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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