#413B7F#413B7F

#413B7F is a dark, moderate blue. Relative luminance 0.058; OKLCH L 39.5% C 0.111 H 284.1°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#413B7F
RGBrgb(65, 59, 127)
HSLhsl(245, 37%, 36%)
HSVhsv(245, 54%, 50%)
CMYKcmyk(48.8%, 53.5%, 0%, 50.2%)
CIE-LABlab(28.86, 21.80, -37.83)
CIE-LCHlch(28.86, 43.66, 299.95°)
OKLaboklab(39.55% 0.027 -0.1077)
OKLCHoklch(39.55% 0.111 284.1)
XYZxyz(7.5736, 5.7837, 20.7919)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413B7F #797F3B
analogous
#3B577F #413B7F #633B7F
triadic
#413B7F #7F413B #3B7F41
tetradic
#413B7F #7F3B57 #797F3B #3B7F63
square
#413B7F #7F3B57 #797F3B #3B7F63
split-complementary
#413B7F #7F633B #577F3B
monochromatic
#16142B #2C2855 #413B7F #564EA9 #7C75BF

Accessibility & contrast

On white

9.74
#413B7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#413B7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413B7F
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413B7F#FFFFFF#000000##FFFFFF
##413B7F1.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4681
Deuteranopia (green-blind)
#17427E
Tritanopia (blue-blind)
#2C4A57
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #413b7f;
/* rgb */ color: rgb(65, 59, 127);
/* oklch */ color: oklch(39.5% 0.111 284.1);
Tailwind
colors: {
  custom: {
    50: '#7a71a4',
    500: '#413b7f',
    950: '#000000',
  },
}
SCSS
$custom: #413b7f;
$custom-light: #7a71a4;
$custom-dark: #000000;
JSON
{
  "hex": "#413b7f",
  "rgb": {
    "r": 65,
    "g": 59,
    "b": 127
  },
  "hsl": {
    "h": 245.294,
    "s": 36.559,
    "l": 36.471
  },
  "oklch": {
    "l": 0.39549,
    "c": 0.11103,
    "h": 284.1
  },
  "luminance": 0.05784
}

Semantic roles & 50–950 ramp

primary
#413B7F
secondary
#A3A96D
accent
#CD5BC3
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#09070F
muted
#7B7A7F

Preview Lab

Preview with #413B7F

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

Preview Lab → · Contrast checker → · Palette generator →

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