#415782#415782

#415782 is a mid, moderate blue. Relative luminance 0.096; OKLCH L 45.8% C 0.076 H 263.0°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#415782
RGBrgb(65, 87, 130)
HSLhsl(220, 33%, 38%)
HSVhsv(220, 50%, 51%)
CMYKcmyk(50%, 33.1%, 0%, 49%)
CIE-LABlab(37.02, 4.43, -26.73)
CIE-LCHlch(37.02, 27.10, 279.40°)
OKLaboklab(45.85% -0.0092 -0.0751)
OKLCHoklch(45.85% 0.076 263)
XYZxyz(9.6161, 9.5513, 22.4516)
Luminance0.0955 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#415782 #826C41
analogous
#417782 #415782 #4B4182
triadic
#415782 #824157 #578241
tetradic
#415782 #824177 #826C41 #41824B
square
#415782 #824177 #826C41 #41824B
split-complementary
#415782 #824B41 #778241
monochromatic
#182030 #2D3C59 #415782 #5672AA #7F94BF

Accessibility & contrast

On white

7.22
#415782 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#415782 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #415782
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##415782#FFFFFF#000000##FFFFFF
##4157821.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475A84
Deuteranopia (green-blind)
#405481
Tritanopia (blue-blind)
#266066
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #415782;
/* rgb */ color: rgb(65, 87, 130);
/* oklch */ color: oklch(45.8% 0.076 263.0);
Tailwind
colors: {
  custom: {
    50: '#7986a6',
    500: '#415782',
    950: '#000000',
  },
}
SCSS
$custom: #415782;
$custom-light: #7986a6;
$custom-dark: #000000;
JSON
{
  "hex": "#415782",
  "rgb": {
    "r": 65,
    "g": 87,
    "b": 130
  },
  "hsl": {
    "h": 219.692,
    "s": 33.333,
    "l": 38.235
  },
  "oklch": {
    "l": 0.45847,
    "c": 0.07566,
    "h": 263
  },
  "luminance": 0.09552
}

Semantic roles & 50–950 ramp

primary
#415782
secondary
#A99875
accent
#A55EC9
background
#F7F8FA
surface
#EEEFF4
border
#C9CACE
text
#090B0F
muted
#7B7C7F

Preview Lab

Preview with #415782

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

Preview Lab → · Contrast checker → · Palette generator →

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