#413393#413393

#413393 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.7% C 0.151 H 283.8°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#413393
RGBrgb(65, 51, 147)
HSLhsl(249, 48%, 39%)
HSVhsv(249, 65%, 58%)
CMYKcmyk(55.8%, 65.3%, 0%, 42.4%)
CIE-LABlab(28.37, 33.45, -51.01)
CIE-LCHlch(28.37, 61.01, 303.25°)
OKLaboklab(39.67% 0.0359 -0.1465)
OKLCHoklch(39.67% 0.151 283.8)
XYZxyz(8.6287, 5.5976, 28.2239)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413393 #859333
analogous
#335593 #413393 #713393
triadic
#413393 #934133 #339341
tetradic
#413393 #933355 #859333 #339371
square
#413393 #933355 #859333 #339371
split-complementary
#413393 #937133 #559333
monochromatic
#191338 #2D2366 #413393 #5745BE #8072CE

Accessibility & contrast

On white

9.91
#413393 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#413393 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413393
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413393#FFFFFF#000000##FFFFFF
##4133931.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004696
Deuteranopia (green-blind)
#004091
Tritanopia (blue-blind)
#1C4B5E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #413393;
/* rgb */ color: rgb(65, 51, 147);
/* oklch */ color: oklch(39.7% 0.151 283.8);
Tailwind
colors: {
  custom: {
    50: '#7e6bb3',
    500: '#413393',
    950: '#000000',
  },
}
SCSS
$custom: #413393;
$custom-light: #7e6bb3;
$custom-dark: #000000;
JSON
{
  "hex": "#413393",
  "rgb": {
    "r": 65,
    "g": 51,
    "b": 147
  },
  "hsl": {
    "h": 248.75,
    "s": 48.485,
    "l": 38.824
  },
  "oklch": {
    "l": 0.39665,
    "c": 0.15085,
    "h": 283.8
  },
  "luminance": 0.05598
}

Semantic roles & 50–950 ramp

primary
#413393
secondary
#ABB66C
accent
#D850C4
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0711
muted
#7C7A80

Preview Lab

Preview with #413393

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

Preview Lab → · Contrast checker → · Palette generator →

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