#413E9F#413E9F

#413E9F is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.6% C 0.153 H 279.1°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#413E9F
RGBrgb(65, 62, 159)
HSLhsl(242, 44%, 43%)
HSVhsv(242, 61%, 62%)
CMYKcmyk(59.1%, 61%, 0%, 37.6%)
CIE-LABlab(31.97, 30.52, -52.48)
CIE-LCHlch(31.97, 60.71, 300.18°)
OKLaboklab(42.6% 0.0241 -0.1508)
OKLCHoklch(42.6% 0.153 279.1)
XYZxyz(10.1586, 7.0716, 33.6238)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413E9F #9C9F3E
analogous
#3E6B9F #413E9F #713E9F
triadic
#413E9F #9F413E #3E9F41
tetradic
#413E9F #9F3E6B #9C9F3E #3E9F71
square
#413E9F #9F3E6B #9C9F3E #3E9F71
split-complementary
#413E9F #9F713E #6B9F3E
monochromatic
#1D1C47 #2F2D73 #413E9F #5E5BBF #8987D0

Accessibility & contrast

On white

8.70
#413E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#413E9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413E9F
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413E9F#FFFFFF#000000##FFFFFF
##413E9F1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA2
Deuteranopia (green-blind)
#00479D
Tritanopia (blue-blind)
#025568
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #413e9f;
/* rgb */ color: rgb(65, 62, 159);
/* oklch */ color: oklch(42.6% 0.153 279.1);
Tailwind
colors: {
  custom: {
    50: '#7f73bc',
    500: '#413e9f',
    950: '#000000',
  },
}
SCSS
$custom: #413e9f;
$custom-light: #7f73bc;
$custom-dark: #000000;
JSON
{
  "hex": "#413e9f",
  "rgb": {
    "r": 65,
    "g": 62,
    "b": 159
  },
  "hsl": {
    "h": 241.856,
    "s": 43.891,
    "l": 43.333
  },
  "oklch": {
    "l": 0.426,
    "c": 0.15268,
    "h": 279.1
  },
  "luminance": 0.07072
}

Semantic roles & 50–950 ramp

primary
#413E9F
secondary
#B9BB7E
accent
#D454D0
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #413E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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