#413A7D#413A7D

#413A7D is a dark, moderate blue. Relative luminance 0.056; OKLCH L 39.2% C 0.110 H 284.9°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#413A7D
RGBrgb(65, 58, 125)
HSLhsl(246, 37%, 36%)
HSVhsv(246, 54%, 49%)
CMYKcmyk(48%, 53.6%, 0%, 51%)
CIE-LABlab(28.46, 21.80, -37.21)
CIE-LCHlch(28.46, 43.13, 300.36°)
OKLaboklab(39.21% 0.0282 -0.1059)
OKLCHoklch(39.21% 0.11 284.9)
XYZxyz(7.3936, 5.6303, 20.0952)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413A7D #767D3A
analogous
#3A547D #413A7D #623A7D
triadic
#413A7D #7D413A #3A7D41
tetradic
#413A7D #7D3A54 #767D3A #3A7D62
square
#413A7D #7D3A54 #767D3A #3A7D62
split-complementary
#413A7D #7D623A #547D3A
monochromatic
#161329 #2B2753 #413A7D #574DA7 #7B73BE

Accessibility & contrast

On white

9.88
#413A7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#413A7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413A7D
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413A7D#FFFFFF#000000##FFFFFF
##413A7D1.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A457F
Deuteranopia (green-blind)
#18417C
Tritanopia (blue-blind)
#2D4855
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #413a7d;
/* rgb */ color: rgb(65, 58, 125);
/* oklch */ color: oklch(39.2% 0.110 284.9);
Tailwind
colors: {
  custom: {
    50: '#7a70a3',
    500: '#413a7d',
    950: '#000000',
  },
}
SCSS
$custom: #413a7d;
$custom-light: #7a70a3;
$custom-dark: #000000;
JSON
{
  "hex": "#413a7d",
  "rgb": {
    "r": 65,
    "g": 58,
    "b": 125
  },
  "hsl": {
    "h": 246.269,
    "s": 36.612,
    "l": 35.882
  },
  "oklch": {
    "l": 0.39206,
    "c": 0.10958,
    "h": 284.9
  },
  "luminance": 0.05631
}

Semantic roles & 50–950 ramp

primary
#413A7D
secondary
#A1A86B
accent
#CD5BC1
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#09070F
muted
#7B7A7F

Preview Lab

Preview with #413A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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