#413A8A#413A8A

#413A8A is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.2% C 0.129 H 282.9°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#413A8A
RGBrgb(65, 58, 138)
HSLhsl(245, 41%, 38%)
HSVhsv(245, 58%, 54%)
CMYKcmyk(52.9%, 58%, 0%, 45.9%)
CIE-LABlab(29.37, 26.07, -43.84)
CIE-LCHlch(29.37, 51.01, 300.73°)
OKLaboklab(40.18% 0.0287 -0.1254)
OKLCHoklch(40.18% 0.129 282.9)
XYZxyz(8.2791, 5.9845, 24.7587)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413A8A #838A3A
analogous
#3A5B8A #413A8A #693A8A
triadic
#413A8A #8A413A #3A8A41
tetradic
#413A8A #8A3A5B #838A3A #3A8A69
square
#413A8A #8A3A5B #838A3A #3A8A69
split-complementary
#413A8A #8A693A #5B8A3A
monochromatic
#181634 #2D285F #413A8A #564DB4 #7F78C6

Accessibility & contrast

On white

9.56
#413A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#413A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413A8A
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413A8A#FFFFFF#000000##FFFFFF
##413A8A1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02488D
Deuteranopia (green-blind)
#004388
Tritanopia (blue-blind)
#244C5C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #413a8a;
/* rgb */ color: rgb(65, 58, 138);
/* oklch */ color: oklch(40.2% 0.129 282.9);
Tailwind
colors: {
  custom: {
    50: '#7c70ad',
    500: '#413a8a',
    950: '#000000',
  },
}
SCSS
$custom: #413a8a;
$custom-light: #7c70ad;
$custom-dark: #000000;
JSON
{
  "hex": "#413a8a",
  "rgb": {
    "r": 65,
    "g": 58,
    "b": 138
  },
  "hsl": {
    "h": 245.25,
    "s": 40.816,
    "l": 38.431
  },
  "oklch": {
    "l": 0.40178,
    "c": 0.12864,
    "h": 282.9
  },
  "luminance": 0.05985
}

Semantic roles & 50–950 ramp

primary
#413A8A
secondary
#AAB070
accent
#D157C6
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#0A0710
muted
#7C7A7F

Preview Lab

Preview with #413A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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