#413F98#413F98

#413F98 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.2% C 0.142 H 279.4°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#413F98
RGBrgb(65, 63, 152)
HSLhsl(241, 41%, 42%)
HSVhsv(241, 59%, 60%)
CMYKcmyk(57.2%, 58.6%, 0%, 40.4%)
CIE-LABlab(31.68, 27.51, -48.70)
CIE-LCHlch(31.68, 55.93, 299.47°)
OKLaboklab(42.22% 0.0232 -0.1396)
OKLCHoklch(42.22% 0.142 279.4)
XYZxyz(9.6232, 6.9452, 30.5331)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413F98 #96983F
analogous
#3F6A98 #413F98 #6D3F98
triadic
#413F98 #98413F #3F9841
tetradic
#413F98 #983F6A #96983F #3F986D
square
#413F98 #983F6A #96983F #3F986D
split-complementary
#413F98 #986D3F #6A983F
monochromatic
#1C1B41 #2E2D6D #413F98 #5C5ABA #8785CC

Accessibility & contrast

On white

8.79
#413F98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#413F98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413F98
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413F98#FFFFFF#000000##FFFFFF
##413F981.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9B
Deuteranopia (green-blind)
#004796
Tritanopia (blue-blind)
#135465
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #413f98;
/* rgb */ color: rgb(65, 63, 152);
/* oklch */ color: oklch(42.2% 0.142 279.4);
Tailwind
colors: {
  custom: {
    50: '#7e74b7',
    500: '#413f98',
    950: '#000000',
  },
}
SCSS
$custom: #413f98;
$custom-light: #7e74b7;
$custom-dark: #000000;
JSON
{
  "hex": "#413f98",
  "rgb": {
    "r": 65,
    "g": 63,
    "b": 152
  },
  "hsl": {
    "h": 241.348,
    "s": 41.395,
    "l": 42.157
  },
  "oklch": {
    "l": 0.42218,
    "c": 0.14156,
    "h": 279.4
  },
  "luminance": 0.06946
}

Semantic roles & 50–950 ramp

primary
#413F98
secondary
#B6B77C
accent
#D157CE
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #413F98

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

Preview Lab → · Contrast checker → · Palette generator →

#413F98 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva