#413887#413887

#413887 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.6% C 0.127 H 284.1°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#413887
RGBrgb(65, 56, 135)
HSLhsl(247, 41%, 37%)
HSVhsv(247, 59%, 53%)
CMYKcmyk(51.9%, 58.5%, 0%, 47.1%)
CIE-LABlab(28.65, 26.38, -43.16)
CIE-LCHlch(28.65, 50.58, 301.43°)
OKLaboklab(39.57% 0.031 -0.1234)
OKLCHoklch(39.57% 0.127 284.1)
XYZxyz(7.9660, 5.7010, 23.5976)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413887 #7E8738
analogous
#385787 #413887 #683887
triadic
#413887 #874138 #388741
tetradic
#413887 #873857 #7E8738 #388768
square
#413887 #873857 #7E8738 #388768
split-complementary
#413887 #876838 #578738
monochromatic
#171430 #2C265C #413887 #564AB2 #7D74C5

Accessibility & contrast

On white

9.81
#413887 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#413887 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413887
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413887#FFFFFF#000000##FFFFFF
##4138871.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468A
Deuteranopia (green-blind)
#004185
Tritanopia (blue-blind)
#274A5A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #413887;
/* rgb */ color: rgb(65, 56, 135);
/* oklch */ color: oklch(39.6% 0.127 284.1);
Tailwind
colors: {
  custom: {
    50: '#7b6fab',
    500: '#413887',
    950: '#000000',
  },
}
SCSS
$custom: #413887;
$custom-light: #7b6fab;
$custom-dark: #000000;
JSON
{
  "hex": "#413887",
  "rgb": {
    "r": 65,
    "g": 56,
    "b": 135
  },
  "hsl": {
    "h": 246.835,
    "s": 41.361,
    "l": 37.451
  },
  "oklch": {
    "l": 0.39569,
    "c": 0.12723,
    "h": 284.1
  },
  "luminance": 0.05701
}

Semantic roles & 50–950 ramp

primary
#413887
secondary
#A7AE6D
accent
#D157C3
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#0A0710
muted
#7C7A7F

Preview Lab

Preview with #413887

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

Preview Lab → · Contrast checker → · Palette generator →

#413887 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva