#415AC2#415AC2

#415AC2 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.7% C 0.165 H 269.5°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#415AC2
RGBrgb(65, 90, 194)
HSLhsl(228, 51%, 51%)
HSVhsv(228, 66%, 76%)
CMYKcmyk(66.5%, 53.6%, 0%, 23.9%)
CIE-LABlab(41.74, 24.72, -57.37)
CIE-LCHlch(41.74, 62.47, 293.31°)
OKLaboklab(50.7% -0.0015 -0.1649)
OKLCHoklch(50.7% 0.165 269.5)
XYZxyz(15.5704, 12.3297, 52.5878)
Luminance0.1233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#415AC2 #C2A941
analogous
#419AC2 #415AC2 #6841C2
triadic
#415AC2 #C2415A #5AC241
tetradic
#415AC2 #C2419A #C2A941 #41C268
square
#415AC2 #C2419A #C2A941 #41C268
split-complementary
#415AC2 #C26841 #9AC241
monochromatic
#212F67 #304496 #415AC2 #6F82D1 #9EAAE0

Accessibility & contrast

On white

6.06
#415AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#415AC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #415AC2
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##415AC2#FFFFFF#000000##FFFFFF
##415AC21.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1069C6
Deuteranopia (green-blind)
#005DC0
Tritanopia (blue-blind)
#007385
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #415ac2;
/* rgb */ color: rgb(65, 90, 194);
/* oklch */ color: oklch(50.7% 0.165 269.5);
Tailwind
colors: {
  custom: {
    50: '#8488d5',
    500: '#415ac2',
    950: '#000000',
  },
}
SCSS
$custom: #415ac2;
$custom-light: #8488d5;
$custom-dark: #000000;
JSON
{
  "hex": "#415ac2",
  "rgb": {
    "r": 65,
    "g": 90,
    "b": 194
  },
  "hsl": {
    "h": 228.372,
    "s": 51.394,
    "l": 50.784
  },
  "oklch": {
    "l": 0.507,
    "c": 0.16488,
    "h": 269.5
  },
  "luminance": 0.12331
}

Semantic roles & 50–950 ramp

primary
#415AC2
secondary
#CCC193
accent
#BF4DDB
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #415AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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