#413D98#413D98

#413D98 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.8% C 0.144 H 280.1°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#413D98
RGBrgb(65, 61, 152)
HSLhsl(243, 43%, 42%)
HSVhsv(243, 60%, 60%)
CMYKcmyk(57.2%, 59.9%, 0%, 40.4%)
CIE-LABlab(31.18, 28.80, -49.51)
CIE-LCHlch(31.18, 57.28, 300.19°)
OKLaboklab(41.85% 0.0253 -0.142)
OKLCHoklch(41.85% 0.144 280.1)
XYZxyz(9.5144, 6.7277, 30.4969)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413D98 #94983D
analogous
#3D6798 #413D98 #6F3D98
triadic
#413D98 #98413D #3D9841
tetradic
#413D98 #983D67 #94983D #3D986F
square
#413D98 #983D67 #94983D #3D986F
split-complementary
#413D98 #986F3D #67983D
monochromatic
#1C1A41 #2E2B6C #413D98 #5B57BB #8682CD

Accessibility & contrast

On white

8.95
#413D98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#413D98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413D98
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413D98#FFFFFF#000000##FFFFFF
##413D981.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9B
Deuteranopia (green-blind)
#004696
Tritanopia (blue-blind)
#135364
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #413d98;
/* rgb */ color: rgb(65, 61, 152);
/* oklch */ color: oklch(41.8% 0.144 280.1);
Tailwind
colors: {
  custom: {
    50: '#7e72b7',
    500: '#413d98',
    950: '#000000',
  },
}
SCSS
$custom: #413d98;
$custom-light: #7e72b7;
$custom-dark: #000000;
JSON
{
  "hex": "#413d98",
  "rgb": {
    "r": 65,
    "g": 61,
    "b": 152
  },
  "hsl": {
    "h": 242.637,
    "s": 42.723,
    "l": 41.765
  },
  "oklch": {
    "l": 0.41846,
    "c": 0.14429,
    "h": 280.1
  },
  "luminance": 0.06728
}

Semantic roles & 50–950 ramp

primary
#413D98
secondary
#B4B77A
accent
#D355CD
background
#F8F6FB
surface
#EFECF6
border
#CAC7D0
text
#0B0811
muted
#7C7B80

Preview Lab

Preview with #413D98

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

Preview Lab → · Contrast checker → · Palette generator →

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