#413B7E#413B7E

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

Color values

HEX#413B7E
RGBrgb(65, 59, 126)
HSLhsl(245, 36%, 36%)
HSVhsv(245, 53%, 49%)
CMYKcmyk(48.4%, 53.2%, 0%, 50.6%)
CIE-LABlab(28.79, 21.47, -37.31)
CIE-LCHlch(28.79, 43.04, 299.92°)
OKLaboklab(39.48% 0.027 -0.1062)
OKLCHoklch(39.48% 0.11 284.2)
XYZxyz(7.5087, 5.7578, 20.4503)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413B7E #787E3B
analogous
#3B577E #413B7E #633B7E
triadic
#413B7E #7E413B #3B7E41
tetradic
#413B7E #7E3B57 #787E3B #3B7E63
square
#413B7E #7E3B57 #787E3B #3B7E63
split-complementary
#413B7E #7E633B #577E3B
monochromatic
#16142B #2B2754 #413B7E #574FA8 #7C75BE

Accessibility & contrast

On white

9.76
#413B7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#413B7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413B7E
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413B7E#FFFFFF#000000##FFFFFF
##413B7E1.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4680
Deuteranopia (green-blind)
#19427D
Tritanopia (blue-blind)
#2D4956
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #413b7e;
/* rgb */ color: rgb(65, 59, 126);
/* oklch */ color: oklch(39.5% 0.110 284.2);
Tailwind
colors: {
  custom: {
    50: '#7a71a4',
    500: '#413b7e',
    950: '#000000',
  },
}
SCSS
$custom: #413b7e;
$custom-light: #7a71a4;
$custom-dark: #000000;
JSON
{
  "hex": "#413b7e",
  "rgb": {
    "r": 65,
    "g": 59,
    "b": 126
  },
  "hsl": {
    "h": 245.373,
    "s": 36.216,
    "l": 36.275
  },
  "oklch": {
    "l": 0.39477,
    "c": 0.10953,
    "h": 284.2
  },
  "luminance": 0.05758
}

Semantic roles & 50–950 ramp

primary
#413B7E
secondary
#A3A86D
accent
#CC5CC2
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#09070F
muted
#7B7A7F

Preview Lab

Preview with #413B7E

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

Preview Lab → · Contrast checker → · Palette generator →

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