#413998#413998

#413998 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.1% C 0.150 H 281.4°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#413998
RGBrgb(65, 57, 152)
HSLhsl(245, 45%, 41%)
HSVhsv(245, 63%, 60%)
CMYKcmyk(57.2%, 62.5%, 0%, 40.4%)
CIE-LABlab(30.20, 31.35, -51.11)
CIE-LCHlch(30.20, 59.96, 301.52°)
OKLaboklab(41.12% 0.0295 -0.1468)
OKLCHoklch(41.12% 0.15 281.4)
XYZxyz(9.3088, 6.3165, 30.4284)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413998 #909839
analogous
#396098 #413998 #703998
triadic
#413998 #984139 #399841
tetradic
#413998 #983960 #909839 #399870
square
#413998 #983960 #909839 #399870
split-complementary
#413998 #987039 #609839
monochromatic
#1B183F #2E286B #413998 #5A51BE #847DCE

Accessibility & contrast

On white

9.28
#413998 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #413998
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413998#FFFFFF#000000##FFFFFF
##4139981.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9B
Deuteranopia (green-blind)
#004496
Tritanopia (blue-blind)
#145063
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #413998;
/* rgb */ color: rgb(65, 57, 152);
/* oklch */ color: oklch(41.1% 0.150 281.4);
Tailwind
colors: {
  custom: {
    50: '#7e70b7',
    500: '#413998',
    950: '#000000',
  },
}
SCSS
$custom: #413998;
$custom-light: #7e70b7;
$custom-dark: #000000;
JSON
{
  "hex": "#413998",
  "rgb": {
    "r": 65,
    "g": 57,
    "b": 152
  },
  "hsl": {
    "h": 245.053,
    "s": 45.455,
    "l": 40.98
  },
  "oklch": {
    "l": 0.41124,
    "c": 0.14969,
    "h": 281.4
  },
  "luminance": 0.06317
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #413998

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

Preview Lab → · Contrast checker → · Palette generator →

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