#413E97#413E97

#413E97 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.0% C 0.142 H 279.9°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#413E97
RGBrgb(65, 62, 151)
HSLhsl(242, 42%, 42%)
HSVhsv(242, 59%, 59%)
CMYKcmyk(57%, 58.9%, 0%, 40.8%)
CIE-LABlab(31.35, 27.82, -48.62)
CIE-LCHlch(31.35, 56.02, 299.78°)
OKLaboklab(41.95% 0.0243 -0.1394)
OKLCHoklch(41.95% 0.142 279.9)
XYZxyz(9.4868, 6.8028, 30.0853)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413E97 #94973E
analogous
#3E6897 #413E97 #6E3E97
triadic
#413E97 #97413E #3E9741
tetradic
#413E97 #973E68 #94973E #3E976E
square
#413E97 #973E68 #94973E #3E976E
split-complementary
#413E97 #976E3E #68973E
monochromatic
#1C1A40 #2E2C6C #413E97 #5B58BA #8683CC

Accessibility & contrast

On white

8.90
#413E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#413E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413E97
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413E97#FFFFFF#000000##FFFFFF
##413E971.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9A
Deuteranopia (green-blind)
#004695
Tritanopia (blue-blind)
#155364
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #413e97;
/* rgb */ color: rgb(65, 62, 151);
/* oklch */ color: oklch(42.0% 0.142 279.9);
Tailwind
colors: {
  custom: {
    50: '#7e73b6',
    500: '#413e97',
    950: '#000000',
  },
}
SCSS
$custom: #413e97;
$custom-light: #7e73b6;
$custom-dark: #000000;
JSON
{
  "hex": "#413e97",
  "rgb": {
    "r": 65,
    "g": 62,
    "b": 151
  },
  "hsl": {
    "h": 242.022,
    "s": 41.784,
    "l": 41.765
  },
  "oklch": {
    "l": 0.41951,
    "c": 0.14152,
    "h": 279.9
  },
  "luminance": 0.06803
}

Semantic roles & 50–950 ramp

primary
#413E97
secondary
#B4B67A
accent
#D256CD
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #413E97

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

Preview Lab → · Contrast checker → · Palette generator →

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