#413D9E#413D9E

#413D9E is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.3% C 0.153 H 279.5°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#413D9E
RGBrgb(65, 61, 158)
HSLhsl(242, 44%, 43%)
HSVhsv(242, 61%, 62%)
CMYKcmyk(58.9%, 61.4%, 0%, 38%)
CIE-LABlab(31.65, 30.82, -52.40)
CIE-LCHlch(31.65, 60.79, 300.46°)
OKLaboklab(42.34% 0.0252 -0.1505)
OKLCHoklch(42.34% 0.153 279.5)
XYZxyz(10.0183, 6.9292, 33.1507)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413D9E #9A9E3D
analogous
#3D699E #413D9E #713D9E
triadic
#413D9E #9E413D #3D9E41
tetradic
#413D9E #9E3D69 #9A9E3D #3D9E71
square
#413D9E #9E3D69 #9A9E3D #3D9E71
split-complementary
#413D9E #9E713D #699E3D
monochromatic
#1D1B46 #2F2C72 #413D9E #5D59BF #8885D0

Accessibility & contrast

On white

8.80
#413D9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #413D9E
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413D9E#FFFFFF#000000##FFFFFF
##413D9E1.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA1
Deuteranopia (green-blind)
#00479C
Tritanopia (blue-blind)
#055567
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #413d9e;
/* rgb */ color: rgb(65, 61, 158);
/* oklch */ color: oklch(42.3% 0.153 279.5);
Tailwind
colors: {
  custom: {
    50: '#7f73bb',
    500: '#413d9e',
    950: '#000000',
  },
}
SCSS
$custom: #413d9e;
$custom-light: #7f73bb;
$custom-dark: #000000;
JSON
{
  "hex": "#413d9e",
  "rgb": {
    "r": 65,
    "g": 61,
    "b": 158
  },
  "hsl": {
    "h": 242.474,
    "s": 44.292,
    "l": 42.941
  },
  "oklch": {
    "l": 0.42337,
    "c": 0.15263,
    "h": 279.5
  },
  "luminance": 0.0693
}

Semantic roles & 50–950 ramp

primary
#413D9E
secondary
#B8BA7D
accent
#D454CF
background
#F8F6FB
surface
#EFECF6
border
#CAC7D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #413D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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