#413781#413781

#413781 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.9% C 0.120 H 285.5°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#413781
RGBrgb(65, 55, 129)
HSLhsl(248, 40%, 36%)
HSVhsv(248, 57%, 51%)
CMYKcmyk(49.6%, 57.4%, 0%, 49.4%)
CIE-LABlab(27.96, 25.07, -40.53)
CIE-LCHlch(27.96, 47.66, 301.73°)
OKLaboklab(38.92% 0.0322 -0.1157)
OKLCHoklch(38.92% 0.12 285.5)
XYZxyz(7.5074, 5.4408, 21.4192)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413781 #778137
analogous
#375281 #413781 #663781
triadic
#413781 #814137 #378141
tetradic
#413781 #813752 #778137 #378166
square
#413781 #813752 #778137 #378166
split-complementary
#413781 #816637 #528137
monochromatic
#16122B #2B2556 #413781 #5749AC #7B70C2

Accessibility & contrast

On white

10.06
#413781 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#413781 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413781
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413781#FFFFFF#000000##FFFFFF
##4137811.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4484
Deuteranopia (green-blind)
#07407F
Tritanopia (blue-blind)
#2B4756
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #413781;
/* rgb */ color: rgb(65, 55, 129);
/* oklch */ color: oklch(38.9% 0.120 285.5);
Tailwind
colors: {
  custom: {
    50: '#7b6ea6',
    500: '#413781',
    950: '#000000',
  },
}
SCSS
$custom: #413781;
$custom-light: #7b6ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#413781",
  "rgb": {
    "r": 65,
    "g": 55,
    "b": 129
  },
  "hsl": {
    "h": 248.108,
    "s": 40.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.38919,
    "c": 0.12005,
    "h": 285.5
  },
  "luminance": 0.05441
}

Semantic roles & 50–950 ramp

primary
#413781
secondary
#A2AB69
accent
#D058C0
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A070F
muted
#7C7A7F

Preview Lab

Preview with #413781

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

Preview Lab → · Contrast checker → · Palette generator →

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