#413E89#413E89

#413E89 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.9% C 0.121 H 281.4°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#413E89
RGBrgb(65, 62, 137)
HSLhsl(242, 38%, 39%)
HSVhsv(242, 55%, 54%)
CMYKcmyk(52.6%, 54.7%, 0%, 46.3%)
CIE-LABlab(30.34, 23.13, -41.67)
CIE-LCHlch(30.34, 47.65, 299.03°)
OKLaboklab(40.87% 0.024 -0.119)
OKLCHoklch(40.87% 0.121 281.4)
XYZxyz(8.4166, 6.3747, 24.4490)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413E89 #86893E
analogous
#3E6189 #413E89 #673E89
triadic
#413E89 #89413E #3E8941
tetradic
#413E89 #893E61 #86893E #3E8967
square
#413E89 #893E61 #86893E #3E8967
split-complementary
#413E89 #89673E #61893E
monochromatic
#191835 #2D2B5F #413E89 #5753B1 #807DC4

Accessibility & contrast

On white

9.23
#413E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#413E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413E89
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413E89#FFFFFF#000000##FFFFFF
##413E891.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154A8C
Deuteranopia (green-blind)
#0C4587
Tritanopia (blue-blind)
#244F5D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #413e89;
/* rgb */ color: rgb(65, 62, 137);
/* oklch */ color: oklch(40.9% 0.121 281.4);
Tailwind
colors: {
  custom: {
    50: '#7b73ac',
    500: '#413e89',
    950: '#000000',
  },
}
SCSS
$custom: #413e89;
$custom-light: #7b73ac;
$custom-dark: #000000;
JSON
{
  "hex": "#413e89",
  "rgb": {
    "r": 65,
    "g": 62,
    "b": 137
  },
  "hsl": {
    "h": 242.4,
    "s": 37.688,
    "l": 39.02
  },
  "oklch": {
    "l": 0.40874,
    "c": 0.12135,
    "h": 281.4
  },
  "luminance": 0.06375
}

Semantic roles & 50–950 ramp

primary
#413E89
secondary
#ACAE74
accent
#CE5AC9
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#0A0810
muted
#7C7B7F

Preview Lab

Preview with #413E89

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

Preview Lab → · Contrast checker → · Palette generator →

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