#413F7D#413F7D

#413F7D is a dark, moderate blue. Relative luminance 0.062; OKLCH L 40.2% C 0.102 H 282.3°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#413F7D
RGBrgb(65, 63, 125)
HSLhsl(242, 33%, 37%)
HSVhsv(242, 50%, 49%)
CMYKcmyk(48%, 49.6%, 0%, 51%)
CIE-LABlab(29.81, 18.50, -35.05)
CIE-LCHlch(29.81, 39.63, 297.82°)
OKLaboklab(40.22% 0.0216 -0.0995)
OKLCHoklch(40.22% 0.102 282.3)
XYZxyz(7.6580, 6.1591, 20.1834)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413F7D #7B7D3F
analogous
#3F5C7D #413F7D #603F7D
triadic
#413F7D #7D413F #3F7D41
tetradic
#413F7D #7D3F5C #7B7D3F #3F7D60
square
#413F7D #7D3F5C #7B7D3F #3F7D60
split-complementary
#413F7D #7D603F #5C7D3F
monochromatic
#17162C #2C2A54 #413F7D #5654A6 #7C7ABC

Accessibility & contrast

On white

9.41
#413F7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#413F7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413F7D
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413F7D#FFFFFF#000000##FFFFFF
##413F7D1.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25487F
Deuteranopia (green-blind)
#21447C
Tritanopia (blue-blind)
#2D4C58
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #413f7d;
/* rgb */ color: rgb(65, 63, 125);
/* oklch */ color: oklch(40.2% 0.102 282.3);
Tailwind
colors: {
  custom: {
    50: '#7a74a3',
    500: '#413f7d',
    950: '#000000',
  },
}
SCSS
$custom: #413f7d;
$custom-light: #7a74a3;
$custom-dark: #000000;
JSON
{
  "hex": "#413f7d",
  "rgb": {
    "r": 65,
    "g": 63,
    "b": 125
  },
  "hsl": {
    "h": 241.935,
    "s": 32.979,
    "l": 36.863
  },
  "oklch": {
    "l": 0.40221,
    "c": 0.10184,
    "h": 282.3
  },
  "luminance": 0.06159
}

Semantic roles & 50–950 ramp

primary
#413F7D
secondary
#A5A671
accent
#C95FC6
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#09080F
muted
#7B7B7F

Preview Lab

Preview with #413F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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