#413196#413196

#413196 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.6% C 0.157 H 283.8°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#413196
RGBrgb(65, 49, 150)
HSLhsl(250, 51%, 39%)
HSVhsv(250, 67%, 59%)
CMYKcmyk(56.7%, 67.3%, 0%, 41.2%)
CIE-LABlab(28.17, 35.64, -53.18)
CIE-LCHlch(28.17, 64.02, 303.83°)
OKLaboklab(39.6% 0.0375 -0.1529)
OKLCHoklch(39.6% 0.157 283.8)
XYZxyz(8.7816, 5.5219, 29.4513)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413196 #869631
analogous
#315496 #413196 #743196
triadic
#413196 #964131 #319641
tetradic
#413196 #963154 #869631 #319674
square
#413196 #963154 #869631 #319674
split-complementary
#413196 #967431 #549631
monochromatic
#19133A #2D2268 #413196 #5743C1 #8071D1

Accessibility & contrast

On white

9.98
#413196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#413196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413196
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413196#FFFFFF#000000##FFFFFF
##4131961.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004699
Deuteranopia (green-blind)
#003F94
Tritanopia (blue-blind)
#194B5F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #413196;
/* rgb */ color: rgb(65, 49, 150);
/* oklch */ color: oklch(39.6% 0.157 283.8);
Tailwind
colors: {
  custom: {
    50: '#7f6ab6',
    500: '#413196',
    950: '#000000',
  },
}
SCSS
$custom: #413196;
$custom-light: #7f6ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#413196",
  "rgb": {
    "r": 65,
    "g": 49,
    "b": 150
  },
  "hsl": {
    "h": 249.505,
    "s": 50.754,
    "l": 39.02
  },
  "oklch": {
    "l": 0.39599,
    "c": 0.15742,
    "h": 283.8
  },
  "luminance": 0.05522
}

Semantic roles & 50–950 ramp

primary
#413196
secondary
#ACB86A
accent
#DA4EC4
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #413196

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

Preview Lab → · Contrast checker → · Palette generator →

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