#413997#413997

#413997 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.0% C 0.148 H 281.5°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#413997
RGBrgb(65, 57, 151)
HSLhsl(245, 45%, 41%)
HSVhsv(245, 62%, 59%)
CMYKcmyk(57%, 62.3%, 0%, 40.8%)
CIE-LABlab(30.12, 31.02, -50.63)
CIE-LCHlch(30.12, 59.37, 301.49°)
OKLaboklab(41.04% 0.0295 -0.1453)
OKLCHoklch(41.04% 0.148 281.5)
XYZxyz(9.2273, 6.2839, 29.9988)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413997 #8F9739
analogous
#396097 #413997 #703997
triadic
#413997 #974139 #399741
tetradic
#413997 #973960 #8F9739 #399770
square
#413997 #973960 #8F9739 #399770
split-complementary
#413997 #977039 #609739
monochromatic
#1B173E #2E286B #413997 #5950BD #847DCE

Accessibility & contrast

On white

9.31
#413997 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#413997 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413997
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413997#FFFFFF#000000##FFFFFF
##4139971.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9A
Deuteranopia (green-blind)
#004495
Tritanopia (blue-blind)
#165062
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #413997;
/* rgb */ color: rgb(65, 57, 151);
/* oklch */ color: oklch(41.0% 0.148 281.5);
Tailwind
colors: {
  custom: {
    50: '#7e70b6',
    500: '#413997',
    950: '#000000',
  },
}
SCSS
$custom: #413997;
$custom-light: #7e70b6;
$custom-dark: #000000;
JSON
{
  "hex": "#413997",
  "rgb": {
    "r": 65,
    "g": 57,
    "b": 151
  },
  "hsl": {
    "h": 245.106,
    "s": 45.192,
    "l": 40.784
  },
  "oklch": {
    "l": 0.41041,
    "c": 0.14832,
    "h": 281.5
  },
  "luminance": 0.06284
}

Semantic roles & 50–950 ramp

primary
#413997
secondary
#B1B775
accent
#D553CA
background
#F8F6FB
surface
#EFECF6
border
#CAC7D0
text
#0B0711
muted
#7C7A80

Preview Lab

Preview with #413997

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

Preview Lab → · Contrast checker → · Palette generator →

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