#413A87#413A87

#413A87 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.9% C 0.124 H 283.3°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#413A87
RGBrgb(65, 58, 135)
HSLhsl(245, 40%, 38%)
HSVhsv(245, 57%, 53%)
CMYKcmyk(51.9%, 57%, 0%, 47.1%)
CIE-LABlab(29.16, 25.08, -42.34)
CIE-LCHlch(29.16, 49.20, 300.64°)
OKLaboklab(39.95% 0.0287 -0.1209)
OKLCHoklch(39.95% 0.124 283.3)
XYZxyz(8.0649, 5.8988, 23.6306)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413A87 #80873A
analogous
#3A5987 #413A87 #683A87
triadic
#413A87 #87413A #3A8741
tetradic
#413A87 #873A59 #80873A #3A8768
square
#413A87 #873A59 #80873A #3A8768
split-complementary
#413A87 #87683A #59873A
monochromatic
#181531 #2C285C #413A87 #564CB2 #7E77C5

Accessibility & contrast

On white

9.63
#413A87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#413A87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413A87
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413A87#FFFFFF#000000##FFFFFF
##413A871.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A478A
Deuteranopia (green-blind)
#024285
Tritanopia (blue-blind)
#264B5A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #413a87;
/* rgb */ color: rgb(65, 58, 135);
/* oklch */ color: oklch(39.9% 0.124 283.3);
Tailwind
colors: {
  custom: {
    50: '#7b70aa',
    500: '#413a87',
    950: '#000000',
  },
}
SCSS
$custom: #413a87;
$custom-light: #7b70aa;
$custom-dark: #000000;
JSON
{
  "hex": "#413a87",
  "rgb": {
    "r": 65,
    "g": 58,
    "b": 135
  },
  "hsl": {
    "h": 245.455,
    "s": 39.896,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39947,
    "c": 0.1243,
    "h": 283.3
  },
  "luminance": 0.05899
}

Semantic roles & 50–950 ramp

primary
#413A87
secondary
#A8AE6F
accent
#D058C5
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#0A0710
muted
#7C7A7F

Preview Lab

Preview with #413A87

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

Preview Lab → · Contrast checker → · Palette generator →

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