#413397#413397

#413397 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.0% C 0.156 H 283.1°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#413397
RGBrgb(65, 51, 151)
HSLhsl(248, 50%, 40%)
HSVhsv(248, 66%, 59%)
CMYKcmyk(57%, 66.2%, 0%, 40.8%)
CIE-LABlab(28.71, 34.75, -52.92)
CIE-LCHlch(28.71, 63.31, 303.29°)
OKLaboklab(40.01% 0.0355 -0.1521)
OKLCHoklch(40.01% 0.156 283.1)
XYZxyz(8.9480, 5.7253, 29.9057)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413397 #899733
analogous
#335797 #413397 #733397
triadic
#413397 #974133 #339741
tetradic
#413397 #973357 #899733 #339773
square
#413397 #973357 #899733 #339773
split-complementary
#413397 #977333 #579733
monochromatic
#1A143C #2D2469 #413397 #5847C1 #8174D0

Accessibility & contrast

On white

9.79
#413397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #413397
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413397#FFFFFF#000000##FFFFFF
##4133971.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479A
Deuteranopia (green-blind)
#004095
Tritanopia (blue-blind)
#174C60
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #413397;
/* rgb */ color: rgb(65, 51, 151);
/* oklch */ color: oklch(40.0% 0.156 283.1);
Tailwind
colors: {
  custom: {
    50: '#7f6cb6',
    500: '#413397',
    950: '#000000',
  },
}
SCSS
$custom: #413397;
$custom-light: #7f6cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#413397",
  "rgb": {
    "r": 65,
    "g": 51,
    "b": 151
  },
  "hsl": {
    "h": 248.4,
    "s": 49.505,
    "l": 39.608
  },
  "oklch": {
    "l": 0.40013,
    "c": 0.15619,
    "h": 283.1
  },
  "luminance": 0.05726
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #413397

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

Preview Lab → · Contrast checker → · Palette generator →

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