#413D8A#413D8A

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

Color values

HEX#413D8A
RGBrgb(65, 61, 138)
HSLhsl(243, 39%, 39%)
HSVhsv(243, 56%, 54%)
CMYKcmyk(52.9%, 55.8%, 0%, 45.9%)
CIE-LABlab(30.15, 24.11, -42.59)
CIE-LCHlch(30.15, 48.95, 299.52°)
OKLaboklab(40.75% 0.0252 -0.1217)
OKLCHoklch(40.75% 0.124 281.7)
XYZxyz(8.4348, 6.2958, 24.8106)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413D8A #868A3D
analogous
#3D608A #413D8A #683D8A
triadic
#413D8A #8A413D #3D8A41
tetradic
#413D8A #8A3D60 #868A3D #3D8A68
square
#413D8A #8A3D60 #868A3D #3D8A68
split-complementary
#413D8A #8A683D #608A3D
monochromatic
#191735 #2D2A60 #413D8A #5752B2 #807CC5

Accessibility & contrast

On white

9.30
#413D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #413D8A
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413D8A#FFFFFF#000000##FFFFFF
##413D8A1.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104A8D
Deuteranopia (green-blind)
#054488
Tritanopia (blue-blind)
#244E5D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #413d8a;
/* rgb */ color: rgb(65, 61, 138);
/* oklch */ color: oklch(40.8% 0.124 281.7);
Tailwind
colors: {
  custom: {
    50: '#7c72ad',
    500: '#413d8a',
    950: '#000000',
  },
}
SCSS
$custom: #413d8a;
$custom-light: #7c72ad;
$custom-dark: #000000;
JSON
{
  "hex": "#413d8a",
  "rgb": {
    "r": 65,
    "g": 61,
    "b": 138
  },
  "hsl": {
    "h": 243.117,
    "s": 38.693,
    "l": 39.02
  },
  "oklch": {
    "l": 0.40753,
    "c": 0.12428,
    "h": 281.7
  },
  "luminance": 0.06296
}

Semantic roles & 50–950 ramp

primary
#413D8A
secondary
#ACAF74
accent
#CF59C9
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#0A0810
muted
#7C7B7F

Preview Lab

Preview with #413D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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