#415AC7#415AC7

#415AC7 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.1% C 0.172 H 269.6°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#415AC7
RGBrgb(65, 90, 199)
HSLhsl(229, 54%, 52%)
HSVhsv(229, 67%, 78%)
CMYKcmyk(67.3%, 54.8%, 0%, 22%)
CIE-LABlab(42.09, 26.50, -59.70)
CIE-LCHlch(42.09, 65.32, 293.94°)
OKLaboklab(51.08% -0.0012 -0.1717)
OKLCHoklch(51.08% 0.172 269.6)
XYZxyz(16.1414, 12.5581, 55.5951)
Luminance0.1256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#415AC7 #C7AE41
analogous
#419DC7 #415AC7 #6B41C7
triadic
#415AC7 #C7415A #5AC741
tetradic
#415AC7 #C7419D #C7AE41 #41C76B
square
#415AC7 #C7419D #C7AE41 #41C76B
split-complementary
#415AC7 #C76B41 #9DC741
monochromatic
#202F6D #2E439D #415AC7 #7083D5 #A0ACE3

Accessibility & contrast

On white

5.98
#415AC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#415AC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #415AC7
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##415AC7#FFFFFF#000000##FFFFFF
##415AC71.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACB
Deuteranopia (green-blind)
#005DC5
Tritanopia (blue-blind)
#007488
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #415ac7;
/* rgb */ color: rgb(65, 90, 199);
/* oklch */ color: oklch(51.1% 0.172 269.6);
Tailwind
colors: {
  custom: {
    50: '#8588d9',
    500: '#415ac7',
    950: '#000000',
  },
}
SCSS
$custom: #415ac7;
$custom-light: #8588d9;
$custom-dark: #000000;
JSON
{
  "hex": "#415ac7",
  "rgb": {
    "r": 65,
    "g": 90,
    "b": 199
  },
  "hsl": {
    "h": 228.806,
    "s": 54.472,
    "l": 51.765
  },
  "oklch": {
    "l": 0.51079,
    "c": 0.17171,
    "h": 269.6
  },
  "luminance": 0.1256
}

Semantic roles & 50–950 ramp

primary
#415AC7
secondary
#CFC495
accent
#C24ADE
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #415AC7

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

Preview Lab → · Contrast checker → · Palette generator →

#415AC7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva