#413D8F#413D8F

#413D8F is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.1% C 0.132 H 281.1°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#413D8F
RGBrgb(65, 61, 143)
HSLhsl(243, 40%, 40%)
HSVhsv(243, 57%, 56%)
CMYKcmyk(54.5%, 57.3%, 0%, 43.9%)
CIE-LABlab(30.51, 25.78, -45.10)
CIE-LCHlch(30.51, 51.95, 299.76°)
OKLaboklab(41.14% 0.0253 -0.129)
OKLCHoklch(41.14% 0.132 281.1)
XYZxyz(8.8051, 6.4440, 26.7611)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413D8F #8B8F3D
analogous
#3D628F #413D8F #6A3D8F
triadic
#413D8F #8F413D #3D8F41
tetradic
#413D8F #8F3D62 #8B8F3D #3D8F6A
square
#413D8F #8F3D62 #8B8F3D #3D8F6A
split-complementary
#413D8F #8F6A3D #628F3D
monochromatic
#1A1839 #2E2B64 #413D8F #5853B6 #827EC8

Accessibility & contrast

On white

9.18
#413D8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#413D8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413D8F
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413D8F#FFFFFF#000000##FFFFFF
##413D8F1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034B92
Deuteranopia (green-blind)
#00458D
Tritanopia (blue-blind)
#1F5060
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #413d8f;
/* rgb */ color: rgb(65, 61, 143);
/* oklch */ color: oklch(41.1% 0.132 281.1);
Tailwind
colors: {
  custom: {
    50: '#7c72b0',
    500: '#413d8f',
    950: '#000000',
  },
}
SCSS
$custom: #413d8f;
$custom-light: #7c72b0;
$custom-dark: #000000;
JSON
{
  "hex": "#413d8f",
  "rgb": {
    "r": 65,
    "g": 61,
    "b": 143
  },
  "hsl": {
    "h": 242.927,
    "s": 40.196,
    "l": 40
  },
  "oklch": {
    "l": 0.41135,
    "c": 0.13151,
    "h": 281.1
  },
  "luminance": 0.06444
}

Semantic roles & 50–950 ramp

primary
#413D8F
secondary
#AFB276
accent
#D058CA
background
#F7F6FA
surface
#EEECF5
border
#C9C7CF
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #413D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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