#413E8B#413E8B

#413E8B is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.0% C 0.124 H 281.2°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#413E8B
RGBrgb(65, 62, 139)
HSLhsl(242, 38%, 39%)
HSVhsv(242, 55%, 55%)
CMYKcmyk(53.2%, 55.4%, 0%, 45.5%)
CIE-LABlab(30.48, 23.79, -42.68)
CIE-LCHlch(30.48, 48.86, 299.14°)
OKLaboklab(41.02% 0.0241 -0.1219)
OKLCHoklch(41.02% 0.124 281.2)
XYZxyz(8.5614, 6.4327, 25.2116)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413E8B #888B3E
analogous
#3E628B #413E8B #683E8B
triadic
#413E8B #8B413E #3E8B41
tetradic
#413E8B #8B3E62 #888B3E #3E8B68
square
#413E8B #8B3E62 #888B3E #3E8B68
split-complementary
#413E8B #8B683E #628B3E
monochromatic
#191836 #2D2B61 #413E8B #5754B3 #817EC5

Accessibility & contrast

On white

9.18
#413E8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#413E8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413E8B
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413E8B#FFFFFF#000000##FFFFFF
##413E8B1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124B8E
Deuteranopia (green-blind)
#074589
Tritanopia (blue-blind)
#234F5E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #413e8b;
/* rgb */ color: rgb(65, 62, 139);
/* oklch */ color: oklch(41.0% 0.124 281.2);
Tailwind
colors: {
  custom: {
    50: '#7c73ad',
    500: '#413e8b',
    950: '#000000',
  },
}
SCSS
$custom: #413e8b;
$custom-light: #7c73ad;
$custom-dark: #000000;
JSON
{
  "hex": "#413e8b",
  "rgb": {
    "r": 65,
    "g": 62,
    "b": 139
  },
  "hsl": {
    "h": 242.338,
    "s": 38.308,
    "l": 39.412
  },
  "oklch": {
    "l": 0.41023,
    "c": 0.12428,
    "h": 281.2
  },
  "luminance": 0.06433
}

Semantic roles & 50–950 ramp

primary
#413E8B
secondary
#ADB075
accent
#CE5ACA
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#0A0810
muted
#7C7B7F

Preview Lab

Preview with #413E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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