#413C8A#413C8A

#413C8A is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.6% C 0.126 H 282.1°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#413C8A
RGBrgb(65, 60, 138)
HSLhsl(244, 39%, 39%)
HSVhsv(244, 57%, 54%)
CMYKcmyk(52.9%, 56.5%, 0%, 45.9%)
CIE-LABlab(29.89, 24.77, -43.01)
CIE-LCHlch(29.89, 49.63, 299.93°)
OKLaboklab(40.56% 0.0264 -0.1229)
OKLCHoklch(40.56% 0.126 282.1)
XYZxyz(8.3819, 6.1900, 24.7930)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413C8A #858A3C
analogous
#3C5E8A #413C8A #683C8A
triadic
#413C8A #8A413C #3C8A41
tetradic
#413C8A #8A3C5E #858A3C #3C8A68
square
#413C8A #8A3C5E #858A3C #3C8A68
split-complementary
#413C8A #8A683C #5E8A3C
monochromatic
#191735 #2D295F #413C8A #5750B3 #807BC6

Accessibility & contrast

On white

9.38
#413C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#413C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413C8A
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413C8A#FFFFFF#000000##FFFFFF
##413C8A1.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C498D
Deuteranopia (green-blind)
#014488
Tritanopia (blue-blind)
#244E5D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #413c8a;
/* rgb */ color: rgb(65, 60, 138);
/* oklch */ color: oklch(40.6% 0.126 282.1);
Tailwind
colors: {
  custom: {
    50: '#7c72ad',
    500: '#413c8a',
    950: '#000000',
  },
}
SCSS
$custom: #413c8a;
$custom-light: #7c72ad;
$custom-dark: #000000;
JSON
{
  "hex": "#413c8a",
  "rgb": {
    "r": 65,
    "g": 60,
    "b": 138
  },
  "hsl": {
    "h": 243.846,
    "s": 39.394,
    "l": 38.824
  },
  "oklch": {
    "l": 0.4056,
    "c": 0.12574,
    "h": 282.1
  },
  "luminance": 0.06191
}

Semantic roles & 50–950 ramp

primary
#413C8A
secondary
#ABAF73
accent
#CF59C8
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#0A0810
muted
#7C7B7F

Preview Lab

Preview with #413C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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