#413982#413982

#413982 is a dark, moderate blue. Relative luminance 0.057; OKLCH L 39.4% C 0.118 H 284.5°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#413982
RGBrgb(65, 57, 130)
HSLhsl(247, 39%, 37%)
HSVhsv(247, 56%, 51%)
CMYKcmyk(50%, 56.2%, 0%, 49%)
CIE-LABlab(28.54, 24.09, -40.21)
CIE-LCHlch(28.54, 46.88, 300.92°)
OKLaboklab(39.38% 0.0297 -0.1147)
OKLCHoklch(39.38% 0.119 284.5)
XYZxyz(7.6712, 5.6614, 21.8033)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413982 #7A8239
analogous
#395682 #413982 #663982
triadic
#413982 #824139 #398241
tetradic
#413982 #823956 #7A8239 #398266
square
#413982 #823956 #7A8239 #398266
split-complementary
#413982 #826639 #568239
monochromatic
#16142D #2C2657 #413982 #564CAD #7C74C2

Accessibility & contrast

On white

9.85
#413982 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#413982 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413982
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413982#FFFFFF#000000##FFFFFF
##4139821.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104585
Deuteranopia (green-blind)
#0C4180
Tritanopia (blue-blind)
#2A4957
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #413982;
/* rgb */ color: rgb(65, 57, 130);
/* oklch */ color: oklch(39.4% 0.118 284.5);
Tailwind
colors: {
  custom: {
    50: '#7b6fa7',
    500: '#413982',
    950: '#000000',
  },
}
SCSS
$custom: #413982;
$custom-light: #7b6fa7;
$custom-dark: #000000;
JSON
{
  "hex": "#413982",
  "rgb": {
    "r": 65,
    "g": 57,
    "b": 130
  },
  "hsl": {
    "h": 246.575,
    "s": 39.037,
    "l": 36.667
  },
  "oklch": {
    "l": 0.39377,
    "c": 0.1185,
    "h": 284.5
  },
  "luminance": 0.05662
}

Semantic roles & 50–950 ramp

primary
#413982
secondary
#A4AB6C
accent
#CF59C2
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#0A070F
muted
#7C7A7F

Preview Lab

Preview with #413982

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

Preview Lab → · Contrast checker → · Palette generator →

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