#413787#413787

#413787 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.4% C 0.129 H 284.5°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#413787
RGBrgb(65, 55, 135)
HSLhsl(248, 42%, 37%)
HSVhsv(248, 59%, 53%)
CMYKcmyk(51.9%, 59.3%, 0%, 47.1%)
CIE-LABlab(28.39, 27.02, -43.57)
CIE-LCHlch(28.39, 51.27, 301.81°)
OKLaboklab(39.38% 0.0322 -0.1246)
OKLCHoklch(39.38% 0.129 284.5)
XYZxyz(7.9180, 5.6051, 23.5816)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413787 #7D8737
analogous
#375587 #413787 #693787
triadic
#413787 #874137 #378741
tetradic
#413787 #873755 #7D8737 #378769
square
#413787 #873755 #7D8737 #378769
split-complementary
#413787 #876937 #558737
monochromatic
#171430 #2C255C #413787 #5649B2 #7D73C6

Accessibility & contrast

On white

9.90
#413787 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#413787 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413787
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413787#FFFFFF#000000##FFFFFF
##4137871.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458A
Deuteranopia (green-blind)
#004085
Tritanopia (blue-blind)
#274959
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #413787;
/* rgb */ color: rgb(65, 55, 135);
/* oklch */ color: oklch(39.4% 0.129 284.5);
Tailwind
colors: {
  custom: {
    50: '#7c6eab',
    500: '#413787',
    950: '#000000',
  },
}
SCSS
$custom: #413787;
$custom-light: #7c6eab;
$custom-dark: #000000;
JSON
{
  "hex": "#413787",
  "rgb": {
    "r": 65,
    "g": 55,
    "b": 135
  },
  "hsl": {
    "h": 247.5,
    "s": 42.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.39383,
    "c": 0.12869,
    "h": 284.5
  },
  "luminance": 0.05605
}

Semantic roles & 50–950 ramp

primary
#413787
secondary
#A6AF6B
accent
#D256C2
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#0A0710
muted
#7C7A7F

Preview Lab

Preview with #413787

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

Preview Lab → · Contrast checker → · Palette generator →

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