#415795#415795

#415795 is a mid, moderate blue. Relative luminance 0.101; OKLCH L 47.0% C 0.104 H 267.6°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#415795
RGBrgb(65, 87, 149)
HSLhsl(224, 39%, 42%)
HSVhsv(224, 56%, 58%)
CMYKcmyk(56.4%, 41.6%, 0%, 41.6%)
CIE-LABlab(38.04, 10.82, -36.68)
CIE-LCHlch(38.04, 38.25, 286.44°)
OKLaboklab(46.96% -0.0044 -0.1041)
OKLCHoklch(46.96% 0.104 267.6)
XYZxyz(11.0112, 10.1093, 29.7990)
Luminance0.1011 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#415795 #957F41
analogous
#418195 #415795 #554195
triadic
#415795 #954157 #579541
tetradic
#415795 #954181 #957F41 #419555
square
#415795 #954181 #957F41 #419555
split-complementary
#415795 #955541 #819541
monochromatic
#1C2540 #2E3E6A #415795 #5C74B8 #8698CA

Accessibility & contrast

On white

6.95
#415795 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#415795 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #415795
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##415795#FFFFFF#000000##FFFFFF
##4157951.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5E97
Deuteranopia (green-blind)
#335694
Tritanopia (blue-blind)
#10656F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #415795;
/* rgb */ color: rgb(65, 87, 149);
/* oklch */ color: oklch(47.0% 0.104 267.6);
Tailwind
colors: {
  custom: {
    50: '#7c86b4',
    500: '#415795',
    950: '#000000',
  },
}
SCSS
$custom: #415795;
$custom-light: #7c86b4;
$custom-dark: #000000;
JSON
{
  "hex": "#415795",
  "rgb": {
    "r": 65,
    "g": 87,
    "b": 149
  },
  "hsl": {
    "h": 224.286,
    "s": 39.252,
    "l": 41.961
  },
  "oklch": {
    "l": 0.46963,
    "c": 0.10419,
    "h": 267.6
  },
  "luminance": 0.1011
}

Semantic roles & 50–950 ramp

primary
#415795
secondary
#B5A67D
accent
#B059CF
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#0A0B11
muted
#7C7C80

Preview Lab

Preview with #415795

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

Preview Lab → · Contrast checker → · Palette generator →

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