#415787#415787

#415787 is a mid, moderate blue. Relative luminance 0.097; OKLCH L 46.1% C 0.083 H 264.6°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#415787
RGBrgb(65, 87, 135)
HSLhsl(221, 35%, 39%)
HSVhsv(221, 52%, 53%)
CMYKcmyk(51.9%, 35.6%, 0%, 47.1%)
CIE-LABlab(37.28, 6.08, -29.39)
CIE-LCHlch(37.28, 30.02, 281.69°)
OKLaboklab(46.13% -0.0078 -0.0828)
OKLCHoklch(46.13% 0.083 264.6)
XYZxyz(9.9599, 9.6888, 24.2623)
Luminance0.0969 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#415787 #877141
analogous
#417A87 #415787 #4E4187
triadic
#415787 #874157 #578741
tetradic
#415787 #87417A #877141 #41874E
square
#415787 #87417A #877141 #41874E
split-complementary
#415787 #874E41 #7A8741
monochromatic
#192234 #2D3C5E #415787 #5772AE #8095C2

Accessibility & contrast

On white

7.15
#415787 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#415787 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #415787
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##415787#FFFFFF#000000##FFFFFF
##4157871.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455B89
Deuteranopia (green-blind)
#3D5586
Tritanopia (blue-blind)
#226168
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #415787;
/* rgb */ color: rgb(65, 87, 135);
/* oklch */ color: oklch(46.1% 0.083 264.6);
Tailwind
colors: {
  custom: {
    50: '#7a86aa',
    500: '#415787',
    950: '#000000',
  },
}
SCSS
$custom: #415787;
$custom-light: #7a86aa;
$custom-dark: #000000;
JSON
{
  "hex": "#415787",
  "rgb": {
    "r": 65,
    "g": 87,
    "b": 135
  },
  "hsl": {
    "h": 221.143,
    "s": 35,
    "l": 39.216
  },
  "oklch": {
    "l": 0.46127,
    "c": 0.08318,
    "h": 264.6
  },
  "luminance": 0.09689
}

Semantic roles & 50–950 ramp

primary
#415787
secondary
#AD9C77
accent
#A85DCB
background
#F7F8FA
surface
#EEEFF4
border
#C9CACE
text
#090B10
muted
#7B7C7F

Preview Lab

Preview with #415787

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

Preview Lab → · Contrast checker → · Palette generator →

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