#413B8F#413B8F

#413B8F is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.8% C 0.134 H 281.9°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#413B8F
RGBrgb(65, 59, 143)
HSLhsl(244, 42%, 40%)
HSVhsv(244, 59%, 56%)
CMYKcmyk(54.5%, 58.7%, 0%, 43.9%)
CIE-LABlab(30.00, 27.08, -45.92)
CIE-LCHlch(30.00, 53.31, 300.53°)
OKLaboklab(40.76% 0.0276 -0.1315)
OKLCHoklch(40.76% 0.134 281.9)
XYZxyz(8.7003, 6.2344, 26.7262)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413B8F #898F3B
analogous
#3B5F8F #413B8F #6B3B8F
triadic
#413B8F #8F413B #3B8F41
tetradic
#413B8F #8F3B5F #898F3B #3B8F6B
square
#413B8F #8F3B5F #898F3B #3B8F6B
split-complementary
#413B8F #8F6B3B #5F8F3B
monochromatic
#1A1738 #2D2964 #413B8F #5850B7 #817CC9

Accessibility & contrast

On white

9.35
#413B8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#413B8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413B8F
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413B8F#FFFFFF#000000##FFFFFF
##413B8F1.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A92
Deuteranopia (green-blind)
#00448D
Tritanopia (blue-blind)
#1F4E5F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #413b8f;
/* rgb */ color: rgb(65, 59, 143);
/* oklch */ color: oklch(40.8% 0.134 281.9);
Tailwind
colors: {
  custom: {
    50: '#7d71b0',
    500: '#413b8f',
    950: '#000000',
  },
}
SCSS
$custom: #413b8f;
$custom-light: #7d71b0;
$custom-dark: #000000;
JSON
{
  "hex": "#413b8f",
  "rgb": {
    "r": 65,
    "g": 59,
    "b": 143
  },
  "hsl": {
    "h": 244.286,
    "s": 41.584,
    "l": 39.608
  },
  "oklch": {
    "l": 0.40757,
    "c": 0.13436,
    "h": 281.9
  },
  "luminance": 0.06235
}

Semantic roles & 50–950 ramp

primary
#413B8F
secondary
#AEB273
accent
#D156C9
background
#F7F6FA
surface
#EEECF5
border
#C9C7CF
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #413B8F

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

Preview Lab → · Contrast checker → · Palette generator →

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