#413987#413987

#413987 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.8% C 0.126 H 283.7°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#413987
RGBrgb(65, 57, 135)
HSLhsl(246, 41%, 38%)
HSVhsv(246, 58%, 53%)
CMYKcmyk(51.9%, 57.8%, 0%, 47.1%)
CIE-LABlab(28.90, 25.73, -42.75)
CIE-LCHlch(28.90, 49.89, 301.04°)
OKLaboklab(39.76% 0.0299 -0.1222)
OKLCHoklch(39.76% 0.126 283.7)
XYZxyz(8.0150, 5.7989, 23.6140)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413987 #7F8739
analogous
#395887 #413987 #683987
triadic
#413987 #874139 #398741
tetradic
#413987 #873958 #7F8739 #398768
square
#413987 #873958 #7F8739 #398768
split-complementary
#413987 #876839 #588739
monochromatic
#181531 #2C275C #413987 #564BB2 #7E75C5

Accessibility & contrast

On white

9.72
#413987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#413987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413987
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413987#FFFFFF#000000##FFFFFF
##4139871.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05478A
Deuteranopia (green-blind)
#004285
Tritanopia (blue-blind)
#274B5A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #413987;
/* rgb */ color: rgb(65, 57, 135);
/* oklch */ color: oklch(39.8% 0.126 283.7);
Tailwind
colors: {
  custom: {
    50: '#7b6faa',
    500: '#413987',
    950: '#000000',
  },
}
SCSS
$custom: #413987;
$custom-light: #7b6faa;
$custom-dark: #000000;
JSON
{
  "hex": "#413987",
  "rgb": {
    "r": 65,
    "g": 57,
    "b": 135
  },
  "hsl": {
    "h": 246.154,
    "s": 40.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.39757,
    "c": 0.12576,
    "h": 283.7
  },
  "luminance": 0.05799
}

Semantic roles & 50–950 ramp

primary
#413987
secondary
#A7AE6E
accent
#D057C4
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#0A0710
muted
#7C7A7F

Preview Lab

Preview with #413987

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

Preview Lab → · Contrast checker → · Palette generator →

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