#413D81#413D81

#413D81 is a dark, moderate blue. Relative luminance 0.060; OKLCH L 40.1% C 0.111 H 282.8°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#413D81
RGBrgb(65, 61, 129)
HSLhsl(244, 36%, 37%)
HSVhsv(244, 53%, 51%)
CMYKcmyk(49.6%, 52.7%, 0%, 49.4%)
CIE-LABlab(29.53, 21.13, -38.00)
CIE-LCHlch(29.53, 43.48, 299.08°)
OKLaboklab(40.09% 0.0246 -0.1082)
OKLCHoklch(40.09% 0.111 282.8)
XYZxyz(7.8100, 6.0459, 21.5201)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413D81 #7D813D
analogous
#3D5B81 #413D81 #633D81
triadic
#413D81 #81413D #3D8141
tetradic
#413D81 #813D5B #7D813D #3D8163
square
#413D81 #813D5B #7D813D #3D8163
split-complementary
#413D81 #81633D #5B813D
monochromatic
#17162E #2C2957 #413D81 #5651AB #7D79C0

Accessibility & contrast

On white

9.51
#413D81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#413D81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413D81
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413D81#FFFFFF#000000##FFFFFF
##413D811.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4883
Deuteranopia (green-blind)
#194380
Tritanopia (blue-blind)
#2A4C59
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #413d81;
/* rgb */ color: rgb(65, 61, 129);
/* oklch */ color: oklch(40.1% 0.111 282.8);
Tailwind
colors: {
  custom: {
    50: '#7a72a6',
    500: '#413d81',
    950: '#000000',
  },
}
SCSS
$custom: #413d81;
$custom-light: #7a72a6;
$custom-dark: #000000;
JSON
{
  "hex": "#413d81",
  "rgb": {
    "r": 65,
    "g": 61,
    "b": 129
  },
  "hsl": {
    "h": 243.529,
    "s": 35.789,
    "l": 37.255
  },
  "oklch": {
    "l": 0.40092,
    "c": 0.11097,
    "h": 282.8
  },
  "luminance": 0.06046
}

Semantic roles & 50–950 ramp

primary
#413D81
secondary
#A6A970
accent
#CC5CC5
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#0A080F
muted
#7C7B7F

Preview Lab

Preview with #413D81

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

Preview Lab → · Contrast checker → · Palette generator →

#413D81 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva