#413487#413487

#413487 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.8% C 0.133 H 285.6°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#413487
RGBrgb(65, 52, 135)
HSLhsl(249, 44%, 37%)
HSVhsv(249, 61%, 53%)
CMYKcmyk(51.9%, 61.5%, 0%, 47.1%)
CIE-LABlab(27.65, 28.94, -44.77)
CIE-LCHlch(27.65, 53.31, 302.88°)
OKLaboklab(38.84% 0.0357 -0.1281)
OKLCHoklch(38.84% 0.133 285.6)
XYZxyz(7.7798, 5.3287, 23.5356)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413487 #7A8734
analogous
#345187 #413487 #6B3487
triadic
#413487 #874134 #348741
tetradic
#413487 #873451 #7A8734 #34876B
square
#413487 #873451 #7A8734 #34876B
split-complementary
#413487 #876B34 #518734
monochromatic
#16122F #2C235B #413487 #5645B3 #7C6EC7

Accessibility & contrast

On white

10.17
#413487 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#413487 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413487
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413487#FFFFFF#000000##FFFFFF
##4134871.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448A
Deuteranopia (green-blind)
#003F85
Tritanopia (blue-blind)
#274758
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #413487;
/* rgb */ color: rgb(65, 52, 135);
/* oklch */ color: oklch(38.8% 0.133 285.6);
Tailwind
colors: {
  custom: {
    50: '#7c6cab',
    500: '#413487',
    950: '#000000',
  },
}
SCSS
$custom: #413487;
$custom-light: #7c6cab;
$custom-dark: #000000;
JSON
{
  "hex": "#413487",
  "rgb": {
    "r": 65,
    "g": 52,
    "b": 135
  },
  "hsl": {
    "h": 249.398,
    "s": 44.385,
    "l": 36.667
  },
  "oklch": {
    "l": 0.38836,
    "c": 0.13301,
    "h": 285.6
  },
  "luminance": 0.05329
}

Semantic roles & 50–950 ramp

primary
#413487
secondary
#A4AF67
accent
#D454C0
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0710
muted
#7C7A7F

Preview Lab

Preview with #413487

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

Preview Lab → · Contrast checker → · Palette generator →

#413487 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva