#413F8B#413F8B

#413F8B is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.2% C 0.123 H 280.7°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#413F8B
RGBrgb(65, 63, 139)
HSLhsl(242, 38%, 40%)
HSVhsv(242, 55%, 55%)
CMYKcmyk(53.2%, 54.7%, 0%, 45.5%)
CIE-LABlab(30.74, 23.14, -42.25)
CIE-LCHlch(30.74, 48.17, 298.70°)
OKLaboklab(41.22% 0.0229 -0.1207)
OKLCHoklch(41.22% 0.123 280.7)
XYZxyz(8.6162, 6.5424, 25.2299)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413F8B #898B3F
analogous
#3F638B #413F8B #673F8B
triadic
#413F8B #8B413F #3F8B41
tetradic
#413F8B #8B3F63 #898B3F #3F8B67
square
#413F8B #8B3F63 #898B3F #3F8B67
split-complementary
#413F8B #8B673F #638B3F
monochromatic
#1A1937 #2D2C61 #413F8B #5855B2 #817FC5

Accessibility & contrast

On white

9.10
#413F8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#413F8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413F8B
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413F8B#FFFFFF#000000##FFFFFF
##413F8B1.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154B8E
Deuteranopia (green-blind)
#0B4689
Tritanopia (blue-blind)
#22505E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #413f8b;
/* rgb */ color: rgb(65, 63, 139);
/* oklch */ color: oklch(41.2% 0.123 280.7);
Tailwind
colors: {
  custom: {
    50: '#7c74ad',
    500: '#413f8b',
    950: '#000000',
  },
}
SCSS
$custom: #413f8b;
$custom-light: #7c74ad;
$custom-dark: #000000;
JSON
{
  "hex": "#413f8b",
  "rgb": {
    "r": 65,
    "g": 63,
    "b": 139
  },
  "hsl": {
    "h": 241.579,
    "s": 37.624,
    "l": 39.608
  },
  "oklch": {
    "l": 0.41219,
    "c": 0.12283,
    "h": 280.7
  },
  "luminance": 0.06543
}

Semantic roles & 50–950 ramp

primary
#413F8B
secondary
#AEAF76
accent
#CE5ACB
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#0A0810
muted
#7C7B7F

Preview Lab

Preview with #413F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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