#413687#413687

#413687 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.2% C 0.130 H 284.9°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#413687
RGBrgb(65, 54, 135)
HSLhsl(248, 43%, 37%)
HSVhsv(248, 60%, 53%)
CMYKcmyk(51.9%, 60%, 0%, 47.1%)
CIE-LABlab(28.14, 27.66, -43.97)
CIE-LCHlch(28.14, 51.95, 302.18°)
OKLaboklab(39.2% 0.0334 -0.1258)
OKLCHoklch(39.2% 0.13 284.9)
XYZxyz(7.8710, 5.5110, 23.5660)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413687 #7C8736
analogous
#365487 #413687 #6A3687
triadic
#413687 #874136 #368741
tetradic
#413687 #873654 #7C8736 #36876A
square
#413687 #873654 #7C8736 #36876A
split-complementary
#413687 #876A36 #548736
monochromatic
#171330 #2C255B #413687 #5647B3 #7D71C6

Accessibility & contrast

On white

9.99
#413687 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#413687 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413687
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413687#FFFFFF#000000##FFFFFF
##4136871.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458A
Deuteranopia (green-blind)
#004085
Tritanopia (blue-blind)
#274959
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #413687;
/* rgb */ color: rgb(65, 54, 135);
/* oklch */ color: oklch(39.2% 0.130 284.9);
Tailwind
colors: {
  custom: {
    50: '#7c6dab',
    500: '#413687',
    950: '#000000',
  },
}
SCSS
$custom: #413687;
$custom-light: #7c6dab;
$custom-dark: #000000;
JSON
{
  "hex": "#413687",
  "rgb": {
    "r": 65,
    "g": 54,
    "b": 135
  },
  "hsl": {
    "h": 248.148,
    "s": 42.857,
    "l": 37.059
  },
  "oklch": {
    "l": 0.39199,
    "c": 0.13013,
    "h": 284.9
  },
  "luminance": 0.05511
}

Semantic roles & 50–950 ramp

primary
#413687
secondary
#A5AF6A
accent
#D355C2
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0710
muted
#7C7A7F

Preview Lab

Preview with #413687

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

Preview Lab → · Contrast checker → · Palette generator →

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