#415781#415781

#415781 is a mid, moderate blue. Relative luminance 0.095; OKLCH L 45.8% C 0.074 H 262.7°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#415781
RGBrgb(65, 87, 129)
HSLhsl(219, 33%, 38%)
HSVhsv(219, 50%, 51%)
CMYKcmyk(49.6%, 32.6%, 0%, 49.4%)
CIE-LABlab(36.98, 4.10, -26.20)
CIE-LCHlch(36.98, 26.52, 278.89°)
OKLaboklab(45.79% -0.0095 -0.0735)
OKLCHoklch(45.79% 0.074 262.7)
XYZxyz(9.5493, 9.5246, 22.0999)
Luminance0.0953 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#415781 #816B41
analogous
#417781 #415781 #4B4181
triadic
#415781 #814157 #578141
tetradic
#415781 #814177 #816B41 #41814B
square
#415781 #814177 #816B41 #41814B
split-complementary
#415781 #814B41 #778141
monochromatic
#182030 #2C3C58 #415781 #5672AA #7E94BE

Accessibility & contrast

On white

7.23
#415781 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #415781
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##415781#FFFFFF#000000##FFFFFF
##4157811.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #415781;
/* rgb */ color: rgb(65, 87, 129);
/* oklch */ color: oklch(45.8% 0.074 262.7);
Tailwind
colors: {
  custom: {
    50: '#7986a6',
    500: '#415781',
    950: '#000000',
  },
}
SCSS
$custom: #415781;
$custom-light: #7986a6;
$custom-dark: #000000;
JSON
{
  "hex": "#415781",
  "rgb": {
    "r": 65,
    "g": 87,
    "b": 129
  },
  "hsl": {
    "h": 219.375,
    "s": 32.99,
    "l": 38.039
  },
  "oklch": {
    "l": 0.45793,
    "c": 0.07416,
    "h": 262.7
  },
  "luminance": 0.09525
}

Semantic roles & 50–950 ramp

primary
#415781
secondary
#A99775
accent
#A55FC9
background
#F7F8FA
surface
#EEEFF4
border
#C9CACE
text
#090B0F
muted
#7B7C7F

Preview Lab

Preview with #415781

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

Preview Lab → · Contrast checker → · Palette generator →

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