#413197#413197

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

Color values

HEX#413197
RGBrgb(65, 49, 151)
HSLhsl(249, 51%, 39%)
HSVhsv(249, 68%, 59%)
CMYKcmyk(57%, 67.5%, 0%, 40.8%)
CIE-LABlab(28.26, 35.96, -53.66)
CIE-LCHlch(28.26, 64.59, 303.83°)
OKLaboklab(39.69% 0.0374 -0.1543)
OKLCHoklch(39.69% 0.159 283.6)
XYZxyz(8.8625, 5.5543, 29.8772)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413197 #879731
analogous
#315497 #413197 #743197
triadic
#413197 #974131 #319741
tetradic
#413197 #973154 #879731 #319774
square
#413197 #973154 #879731 #319774
split-complementary
#413197 #977431 #549731
monochromatic
#19133B #2D2269 #413197 #5743C2 #8071D1

Accessibility & contrast

On white

9.95
#413197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#413197 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413197
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413197#FFFFFF#000000##FFFFFF
##4131971.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469A
Deuteranopia (green-blind)
#003F95
Tritanopia (blue-blind)
#174B5F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #413197;
/* rgb */ color: rgb(65, 49, 151);
/* oklch */ color: oklch(39.7% 0.159 283.6);
Tailwind
colors: {
  custom: {
    50: '#7f6ab6',
    500: '#413197',
    950: '#000000',
  },
}
SCSS
$custom: #413197;
$custom-light: #7f6ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#413197",
  "rgb": {
    "r": 65,
    "g": 49,
    "b": 151
  },
  "hsl": {
    "h": 249.412,
    "s": 51,
    "l": 39.216
  },
  "oklch": {
    "l": 0.39688,
    "c": 0.15874,
    "h": 283.6
  },
  "luminance": 0.05555
}

Semantic roles & 50–950 ramp

primary
#413197
secondary
#ADB96B
accent
#DA4DC4
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #413197

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

Preview Lab → · Contrast checker → · Palette generator →

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