#413396#413396

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

Color values

HEX#413396
RGBrgb(65, 51, 150)
HSLhsl(248, 49%, 39%)
HSVhsv(248, 66%, 59%)
CMYKcmyk(56.7%, 66%, 0%, 41.2%)
CIE-LABlab(28.62, 34.42, -52.45)
CIE-LCHlch(28.62, 62.74, 303.28°)
OKLaboklab(39.93% 0.0356 -0.1507)
OKLCHoklch(39.93% 0.155 283.3)
XYZxyz(8.8671, 5.6929, 29.4799)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413396 #889633
analogous
#335796 #413396 #733396
triadic
#413396 #964133 #339641
tetradic
#413396 #963357 #889633 #339673
square
#413396 #963357 #889633 #339673
split-complementary
#413396 #967333 #579633
monochromatic
#19143B #2D2368 #413396 #5746C0 #8174D0

Accessibility & contrast

On white

9.82
#413396 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#413396 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413396
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413396#FFFFFF#000000##FFFFFF
##4133961.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004799
Deuteranopia (green-blind)
#004094
Tritanopia (blue-blind)
#184C60
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #413396;
/* rgb */ color: rgb(65, 51, 150);
/* oklch */ color: oklch(39.9% 0.155 283.3);
Tailwind
colors: {
  custom: {
    50: '#7e6cb6',
    500: '#413396',
    950: '#000000',
  },
}
SCSS
$custom: #413396;
$custom-light: #7e6cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#413396",
  "rgb": {
    "r": 65,
    "g": 51,
    "b": 150
  },
  "hsl": {
    "h": 248.485,
    "s": 49.254,
    "l": 39.412
  },
  "oklch": {
    "l": 0.39926,
    "c": 0.15486,
    "h": 283.3
  },
  "luminance": 0.05693
}

Semantic roles & 50–950 ramp

primary
#413396
secondary
#ADB86D
accent
#D94FC5
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0711
muted
#7C7A80

Preview Lab

Preview with #413396

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

Preview Lab → · Contrast checker → · Palette generator →

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