#413582#413582

#413582 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.6% C 0.124 H 286.1°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#413582
RGBrgb(65, 53, 130)
HSLhsl(249, 42%, 36%)
HSVhsv(249, 59%, 51%)
CMYKcmyk(50%, 59.2%, 0%, 49%)
CIE-LABlab(27.52, 26.69, -41.86)
CIE-LCHlch(27.52, 49.64, 302.52°)
OKLaboklab(38.62% 0.0346 -0.1196)
OKLCHoklch(38.62% 0.124 286.1)
XYZxyz(7.4812, 5.2814, 21.7400)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413582 #768235
analogous
#354F82 #413582 #673582
triadic
#413582 #824135 #358241
tetradic
#413582 #82354F #768235 #358267
square
#413582 #82354F #768235 #358267
split-complementary
#413582 #826735 #4F8235
monochromatic
#16122B #2B2357 #413582 #5747AD #7B6EC4

Accessibility & contrast

On white

10.21
#413582 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#413582 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413582
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413582#FFFFFF#000000##FFFFFF
##4135821.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004385
Deuteranopia (green-blind)
#003F80
Tritanopia (blue-blind)
#2B4656
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #413582;
/* rgb */ color: rgb(65, 53, 130);
/* oklch */ color: oklch(38.6% 0.124 286.1);
Tailwind
colors: {
  custom: {
    50: '#7b6ca7',
    500: '#413582',
    950: '#000000',
  },
}
SCSS
$custom: #413582;
$custom-light: #7b6ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#413582",
  "rgb": {
    "r": 65,
    "g": 53,
    "b": 130
  },
  "hsl": {
    "h": 249.351,
    "s": 42.077,
    "l": 35.882
  },
  "oklch": {
    "l": 0.38622,
    "c": 0.12448,
    "h": 286.1
  },
  "luminance": 0.05282
}

Semantic roles & 50–950 ramp

primary
#413582
secondary
#A1AC67
accent
#D256BF
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A070F
muted
#7C7A7F

Preview Lab

Preview with #413582

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

Preview Lab → · Contrast checker → · Palette generator →

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