#413097#413097

#413097 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.5% C 0.160 H 283.9°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#413097
RGBrgb(65, 48, 151)
HSLhsl(250, 52%, 39%)
HSVhsv(250, 68%, 59%)
CMYKcmyk(57%, 68.2%, 0%, 40.8%)
CIE-LABlab(28.04, 36.56, -54.02)
CIE-LCHlch(28.04, 65.22, 304.09°)
OKLaboklab(39.53% 0.0383 -0.1553)
OKLCHoklch(39.53% 0.16 283.9)
XYZxyz(8.8211, 5.4716, 29.8635)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413097 #869730
analogous
#305397 #413097 #753097
triadic
#413097 #974130 #309741
tetradic
#413097 #973053 #869730 #309775
square
#413097 #973053 #869730 #309775
split-complementary
#413097 #977530 #539730
monochromatic
#19123A #2D2169 #413097 #5741C3 #8070D2

Accessibility & contrast

On white

10.03
#413097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#413097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413097
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413097#FFFFFF#000000##FFFFFF
##4130971.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459A
Deuteranopia (green-blind)
#003F95
Tritanopia (blue-blind)
#174A5F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #413097;
/* rgb */ color: rgb(65, 48, 151);
/* oklch */ color: oklch(39.5% 0.160 283.9);
Tailwind
colors: {
  custom: {
    50: '#7f6ab6',
    500: '#413097',
    950: '#000000',
  },
}
SCSS
$custom: #413097;
$custom-light: #7f6ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#413097",
  "rgb": {
    "r": 65,
    "g": 48,
    "b": 151
  },
  "hsl": {
    "h": 249.903,
    "s": 51.759,
    "l": 39.02
  },
  "oklch": {
    "l": 0.39528,
    "c": 0.15999,
    "h": 283.9
  },
  "luminance": 0.05472
}

Semantic roles & 50–950 ramp

primary
#413097
secondary
#ACB96A
accent
#DB4DC4
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #413097

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

Preview Lab → · Contrast checker → · Palette generator →

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