#413398#413398

#413398 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.1% C 0.158 H 283.0°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#413398
RGBrgb(65, 51, 152)
HSLhsl(248, 50%, 40%)
HSVhsv(248, 66%, 60%)
CMYKcmyk(57.2%, 66.4%, 0%, 40.4%)
CIE-LABlab(28.79, 35.07, -53.40)
CIE-LCHlch(28.79, 63.88, 303.30°)
OKLaboklab(40.1% 0.0354 -0.1535)
OKLCHoklch(40.1% 0.158 283)
XYZxyz(9.0296, 5.7579, 30.3353)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413398 #8A9833
analogous
#335798 #413398 #743398
triadic
#413398 #984133 #339841
tetradic
#413398 #983357 #8A9833 #339874
square
#413398 #983357 #8A9833 #339874
split-complementary
#413398 #987433 #579833
monochromatic
#1A143C #2D246A #413398 #5847C1 #8275D1

Accessibility & contrast

On white

9.76
#413398 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#413398 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413398
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413398#FFFFFF#000000##FFFFFF
##4133981.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479B
Deuteranopia (green-blind)
#004096
Tritanopia (blue-blind)
#154C61
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #413398;
/* rgb */ color: rgb(65, 51, 152);
/* oklch */ color: oklch(40.1% 0.158 283.0);
Tailwind
colors: {
  custom: {
    50: '#7f6cb7',
    500: '#413398',
    950: '#000000',
  },
}
SCSS
$custom: #413398;
$custom-light: #7f6cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#413398",
  "rgb": {
    "r": 65,
    "g": 51,
    "b": 152
  },
  "hsl": {
    "h": 248.317,
    "s": 49.754,
    "l": 39.804
  },
  "oklch": {
    "l": 0.40101,
    "c": 0.15752,
    "h": 283
  },
  "luminance": 0.05758
}

Semantic roles & 50–950 ramp

primary
#413398
secondary
#AEB96E
accent
#D94FC6
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0711
muted
#7C7A80

Preview Lab

Preview with #413398

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

Preview Lab → · Contrast checker → · Palette generator →

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