#413299#413299

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

Color values

HEX#413299
RGBrgb(65, 50, 153)
HSLhsl(249, 51%, 40%)
HSVhsv(249, 67%, 60%)
CMYKcmyk(57.5%, 67.3%, 0%, 40%)
CIE-LABlab(28.65, 36.00, -54.23)
CIE-LCHlch(28.65, 65.09, 303.58°)
OKLaboklab(40.03% 0.0362 -0.156)
OKLCHoklch(40.03% 0.16 283.1)
XYZxyz(9.0686, 5.7044, 30.7540)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413299 #8A9932
analogous
#325699 #413299 #753299
triadic
#413299 #994132 #329941
tetradic
#413299 #993256 #8A9932 #329975
square
#413299 #993256 #8A9932 #329975
split-complementary
#413299 #997532 #569932
monochromatic
#1A143D #2D236B #413299 #5846C2 #8274D2

Accessibility & contrast

On white

9.81
#413299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #413299
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413299#FFFFFF#000000##FFFFFF
##4132991.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479C
Deuteranopia (green-blind)
#004097
Tritanopia (blue-blind)
#144C61
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #413299;
/* rgb */ color: rgb(65, 50, 153);
/* oklch */ color: oklch(40.0% 0.160 283.1);
Tailwind
colors: {
  custom: {
    50: '#7f6bb8',
    500: '#413299',
    950: '#000000',
  },
}
SCSS
$custom: #413299;
$custom-light: #7f6bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#413299",
  "rgb": {
    "r": 65,
    "g": 50,
    "b": 153
  },
  "hsl": {
    "h": 248.738,
    "s": 50.739,
    "l": 39.804
  },
  "oklch": {
    "l": 0.40027,
    "c": 0.1601,
    "h": 283.1
  },
  "luminance": 0.05705
}

Semantic roles & 50–950 ramp

primary
#413299
secondary
#AEBA6D
accent
#DA4EC6
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0711
muted
#7C7A80

Preview Lab

Preview with #413299

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

Preview Lab → · Contrast checker → · Palette generator →

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