#413297#413297

#413297 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.8% C 0.157 H 283.4°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#413297
RGBrgb(65, 50, 151)
HSLhsl(249, 50%, 39%)
HSVhsv(249, 67%, 59%)
CMYKcmyk(57%, 66.9%, 0%, 40.8%)
CIE-LABlab(28.48, 35.36, -53.29)
CIE-LCHlch(28.48, 63.95, 303.56°)
OKLaboklab(39.85% 0.0364 -0.1532)
OKLCHoklch(39.85% 0.157 283.4)
XYZxyz(8.9048, 5.6388, 29.8913)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413297 #889732
analogous
#325697 #413297 #743297
triadic
#413297 #974132 #329741
tetradic
#413297 #973256 #889732 #329774
square
#413297 #973256 #889732 #329774
split-complementary
#413297 #977432 #569732
monochromatic
#19143B #2D2369 #413297 #5745C1 #8173D1

Accessibility & contrast

On white

9.87
#413297 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#413297 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413297
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413297#FFFFFF#000000##FFFFFF
##4132971.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469A
Deuteranopia (green-blind)
#004095
Tritanopia (blue-blind)
#174B60
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #413297;
/* rgb */ color: rgb(65, 50, 151);
/* oklch */ color: oklch(39.8% 0.157 283.4);
Tailwind
colors: {
  custom: {
    50: '#7f6bb6',
    500: '#413297',
    950: '#000000',
  },
}
SCSS
$custom: #413297;
$custom-light: #7f6bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#413297",
  "rgb": {
    "r": 65,
    "g": 50,
    "b": 151
  },
  "hsl": {
    "h": 248.911,
    "s": 50.249,
    "l": 39.412
  },
  "oklch": {
    "l": 0.39849,
    "c": 0.15746,
    "h": 283.4
  },
  "luminance": 0.05639
}

Semantic roles & 50–950 ramp

primary
#413297
secondary
#ADB96C
accent
#DA4EC5
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0711
muted
#7C7A80

Preview Lab

Preview with #413297

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

Preview Lab → · Contrast checker → · Palette generator →

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