#413298#413298

#413298 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.9% C 0.159 H 283.2°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#413298
RGBrgb(65, 50, 152)
HSLhsl(249, 50%, 40%)
HSVhsv(249, 67%, 60%)
CMYKcmyk(57.2%, 67.1%, 0%, 40.4%)
CIE-LABlab(28.57, 35.68, -53.76)
CIE-LCHlch(28.57, 64.52, 303.57°)
OKLaboklab(39.94% 0.0363 -0.1546)
OKLCHoklch(39.94% 0.159 283.2)
XYZxyz(8.9863, 5.6715, 30.3209)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413298 #899832
analogous
#325698 #413298 #743298
triadic
#413298 #984132 #329841
tetradic
#413298 #983256 #899832 #329874
square
#413298 #983256 #899832 #329874
split-complementary
#413298 #987432 #569832
monochromatic
#1A143C #2D236A #413298 #5845C2 #8173D1

Accessibility & contrast

On white

9.84
#413298 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#413298 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413298
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413298#FFFFFF#000000##FFFFFF
##4132981.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479B
Deuteranopia (green-blind)
#004096
Tritanopia (blue-blind)
#164C60
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #413298;
/* rgb */ color: rgb(65, 50, 152);
/* oklch */ color: oklch(39.9% 0.159 283.2);
Tailwind
colors: {
  custom: {
    50: '#7f6bb7',
    500: '#413298',
    950: '#000000',
  },
}
SCSS
$custom: #413298;
$custom-light: #7f6bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#413298",
  "rgb": {
    "r": 65,
    "g": 50,
    "b": 152
  },
  "hsl": {
    "h": 248.824,
    "s": 50.495,
    "l": 39.608
  },
  "oklch": {
    "l": 0.39938,
    "c": 0.15879,
    "h": 283.2
  },
  "luminance": 0.05672
}

Semantic roles & 50–950 ramp

primary
#413298
secondary
#AEB96D
accent
#DA4EC5
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0711
muted
#7C7A80

Preview Lab

Preview with #413298

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

Preview Lab → · Contrast checker → · Palette generator →

#413298 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva