#413985#413985

#413985 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.6% C 0.123 H 284.0°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#413985
RGBrgb(65, 57, 133)
HSLhsl(246, 40%, 37%)
HSVhsv(246, 57%, 52%)
CMYKcmyk(51.1%, 57.1%, 0%, 47.8%)
CIE-LABlab(28.75, 25.07, -41.74)
CIE-LCHlch(28.75, 48.69, 300.99°)
OKLaboklab(39.6% 0.0298 -0.1192)
OKLCHoklch(39.6% 0.123 284)
XYZxyz(7.8755, 5.7431, 22.8793)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413985 #7D8539
analogous
#395785 #413985 #673985
triadic
#413985 #854139 #398541
tetradic
#413985 #853957 #7D8539 #398567
square
#413985 #853957 #7D8539 #398567
split-complementary
#413985 #856739 #578539
monochromatic
#17142F #2C275A #413985 #564BB0 #7D75C4

Accessibility & contrast

On white

9.77
#413985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#413985 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413985
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413985#FFFFFF#000000##FFFFFF
##4139851.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4688
Deuteranopia (green-blind)
#044183
Tritanopia (blue-blind)
#284A59
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #413985;
/* rgb */ color: rgb(65, 57, 133);
/* oklch */ color: oklch(39.6% 0.123 284.0);
Tailwind
colors: {
  custom: {
    50: '#7b6fa9',
    500: '#413985',
    950: '#000000',
  },
}
SCSS
$custom: #413985;
$custom-light: #7b6fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#413985",
  "rgb": {
    "r": 65,
    "g": 57,
    "b": 133
  },
  "hsl": {
    "h": 246.316,
    "s": 40,
    "l": 37.255
  },
  "oklch": {
    "l": 0.39604,
    "c": 0.12287,
    "h": 284
  },
  "luminance": 0.05744
}

Semantic roles & 50–950 ramp

primary
#413985
secondary
#A6AD6D
accent
#D058C3
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#0A0710
muted
#7C7A7F

Preview Lab

Preview with #413985

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

Preview Lab → · Contrast checker → · Palette generator →

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