#413E7F#413E7F

#413E7F is a dark, moderate blue. Relative luminance 0.061; OKLCH L 40.2% C 0.106 H 282.6°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#413E7F
RGBrgb(65, 62, 127)
HSLhsl(243, 34%, 37%)
HSVhsv(243, 51%, 50%)
CMYKcmyk(48.8%, 51.2%, 0%, 50.2%)
CIE-LABlab(29.67, 19.81, -36.53)
CIE-LCHlch(29.67, 41.56, 298.47°)
OKLaboklab(40.15% 0.0232 -0.1039)
OKLCHoklch(40.15% 0.106 282.6)
XYZxyz(7.7322, 6.1010, 20.8447)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413E7F #7C7F3E
analogous
#3E5C7F #413E7F #623E7F
triadic
#413E7F #7F413E #3E7F41
tetradic
#413E7F #7F3E5C #7C7F3E #3E7F62
square
#413E7F #7F3E5C #7C7F3E #3E7F62
split-complementary
#413E7F #7F623E #5C7F3E
monochromatic
#17162D #2C2A56 #413E7F #5652A8 #7D7ABE

Accessibility & contrast

On white

9.46
#413E7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#413E7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413E7F
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413E7F#FFFFFF#000000##FFFFFF
##413E7F1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214881
Deuteranopia (green-blind)
#1D447E
Tritanopia (blue-blind)
#2C4C58
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #413e7f;
/* rgb */ color: rgb(65, 62, 127);
/* oklch */ color: oklch(40.2% 0.106 282.6);
Tailwind
colors: {
  custom: {
    50: '#7a73a4',
    500: '#413e7f',
    950: '#000000',
  },
}
SCSS
$custom: #413e7f;
$custom-light: #7a73a4;
$custom-dark: #000000;
JSON
{
  "hex": "#413e7f",
  "rgb": {
    "r": 65,
    "g": 62,
    "b": 127
  },
  "hsl": {
    "h": 242.769,
    "s": 34.392,
    "l": 37.059
  },
  "oklch": {
    "l": 0.40153,
    "c": 0.10642,
    "h": 282.6
  },
  "luminance": 0.06101
}

Semantic roles & 50–950 ramp

primary
#413E7F
secondary
#A5A871
accent
#CA5DC5
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#09080F
muted
#7B7B7F

Preview Lab

Preview with #413E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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