#413897#413897

#413897 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.9% C 0.150 H 281.8°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#413897
RGBrgb(65, 56, 151)
HSLhsl(246, 46%, 41%)
HSVhsv(246, 63%, 59%)
CMYKcmyk(57%, 62.9%, 0%, 40.8%)
CIE-LABlab(29.88, 31.65, -51.02)
CIE-LCHlch(29.88, 60.04, 301.81°)
OKLaboklab(40.86% 0.0305 -0.1465)
OKLCHoklch(40.86% 0.15 281.8)
XYZxyz(9.1783, 6.1860, 29.9825)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413897 #8E9738
analogous
#385E97 #413897 #703897
triadic
#413897 #974138 #389741
tetradic
#413897 #97385E #8E9738 #389770
square
#413897 #97385E #8E9738 #389770
split-complementary
#413897 #977038 #5E9738
monochromatic
#1B173E #2E276A #413897 #594FBE #837BCE

Accessibility & contrast

On white

9.39
#413897 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#413897 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413897
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413897#FFFFFF#000000##FFFFFF
##4138971.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9A
Deuteranopia (green-blind)
#004395
Tritanopia (blue-blind)
#164F62
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #413897;
/* rgb */ color: rgb(65, 56, 151);
/* oklch */ color: oklch(40.9% 0.150 281.8);
Tailwind
colors: {
  custom: {
    50: '#7e6fb6',
    500: '#413897',
    950: '#000000',
  },
}
SCSS
$custom: #413897;
$custom-light: #7e6fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#413897",
  "rgb": {
    "r": 65,
    "g": 56,
    "b": 151
  },
  "hsl": {
    "h": 245.684,
    "s": 45.894,
    "l": 40.588
  },
  "oklch": {
    "l": 0.40864,
    "c": 0.14965,
    "h": 281.8
  },
  "luminance": 0.06187
}

Semantic roles & 50–950 ramp

primary
#413897
secondary
#B1B773
accent
#D652C9
background
#F8F6FB
surface
#EFECF6
border
#CAC7D0
text
#0B0711
muted
#7C7A80

Preview Lab

Preview with #413897

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

Preview Lab → · Contrast checker → · Palette generator →

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