#413C8D#413C8D

#413C8D is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.8% C 0.130 H 281.7°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#413C8D
RGBrgb(65, 60, 141)
HSLhsl(244, 40%, 39%)
HSVhsv(244, 57%, 55%)
CMYKcmyk(53.9%, 57.4%, 0%, 44.7%)
CIE-LABlab(30.10, 25.77, -44.52)
CIE-LCHlch(30.10, 51.43, 300.06°)
OKLaboklab(40.79% 0.0265 -0.1273)
OKLCHoklch(40.79% 0.13 281.7)
XYZxyz(8.6021, 6.2781, 25.9527)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413C8D #888D3C
analogous
#3C608D #413C8D #6A3C8D
triadic
#413C8D #8D413C #3C8D41
tetradic
#413C8D #8D3C60 #888D3C #3C8D6A
square
#413C8D #8D3C60 #888D3C #3C8D6A
split-complementary
#413C8D #8D6A3C #608D3C
monochromatic
#191737 #2D2A62 #413C8D #5751B5 #817CC7

Accessibility & contrast

On white

9.31
#413C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#413C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413C8D
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413C8D#FFFFFF#000000##FFFFFF
##413C8D1.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034A90
Deuteranopia (green-blind)
#00448B
Tritanopia (blue-blind)
#214F5E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #413c8d;
/* rgb */ color: rgb(65, 60, 141);
/* oklch */ color: oklch(40.8% 0.130 281.7);
Tailwind
colors: {
  custom: {
    50: '#7c72af',
    500: '#413c8d',
    950: '#000000',
  },
}
SCSS
$custom: #413c8d;
$custom-light: #7c72af;
$custom-dark: #000000;
JSON
{
  "hex": "#413c8d",
  "rgb": {
    "r": 65,
    "g": 60,
    "b": 141
  },
  "hsl": {
    "h": 243.704,
    "s": 40.299,
    "l": 39.412
  },
  "oklch": {
    "l": 0.4079,
    "c": 0.13007,
    "h": 281.7
  },
  "luminance": 0.06279
}

Semantic roles & 50–950 ramp

primary
#413C8D
secondary
#ADB174
accent
#D058C9
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#0A0810
muted
#7C7B7F

Preview Lab

Preview with #413C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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