#413A89#413A89

#413A89 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.1% C 0.127 H 283.0°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#413A89
RGBrgb(65, 58, 137)
HSLhsl(245, 41%, 38%)
HSVhsv(245, 58%, 54%)
CMYKcmyk(52.6%, 57.7%, 0%, 46.3%)
CIE-LABlab(29.30, 25.74, -43.34)
CIE-LCHlch(29.30, 50.41, 300.70°)
OKLaboklab(40.1% 0.0287 -0.1239)
OKLCHoklch(40.1% 0.127 283)
XYZxyz(8.2070, 5.9556, 24.3792)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413A89 #82893A
analogous
#3A5A89 #413A89 #683A89
triadic
#413A89 #89413A #3A8941
tetradic
#413A89 #893A5A #82893A #3A8968
square
#413A89 #893A5A #82893A #3A8968
split-complementary
#413A89 #89683A #5A893A
monochromatic
#181633 #2D285E #413A89 #564DB4 #7F78C6

Accessibility & contrast

On white

9.58
#413A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#413A89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413A89
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413A89#FFFFFF#000000##FFFFFF
##413A891.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04488C
Deuteranopia (green-blind)
#004287
Tritanopia (blue-blind)
#254C5B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #413a89;
/* rgb */ color: rgb(65, 58, 137);
/* oklch */ color: oklch(40.1% 0.127 283.0);
Tailwind
colors: {
  custom: {
    50: '#7c70ac',
    500: '#413a89',
    950: '#000000',
  },
}
SCSS
$custom: #413a89;
$custom-light: #7c70ac;
$custom-dark: #000000;
JSON
{
  "hex": "#413a89",
  "rgb": {
    "r": 65,
    "g": 58,
    "b": 137
  },
  "hsl": {
    "h": 245.316,
    "s": 40.513,
    "l": 38.235
  },
  "oklch": {
    "l": 0.40101,
    "c": 0.12719,
    "h": 283
  },
  "luminance": 0.05956
}

Semantic roles & 50–950 ramp

primary
#413A89
secondary
#A9AF70
accent
#D057C6
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#0A0710
muted
#7C7A7F

Preview Lab

Preview with #413A89

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

Preview Lab → · Contrast checker → · Palette generator →

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