#415EC2#415EC2

#415EC2 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.5% C 0.160 H 268.2°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#415EC2
RGBrgb(65, 94, 194)
HSLhsl(227, 51%, 51%)
HSVhsv(227, 66%, 76%)
CMYKcmyk(66.5%, 51.5%, 0%, 23.9%)
CIE-LABlab(42.80, 22.16, -55.66)
CIE-LCHlch(42.80, 59.91, 291.71°)
OKLaboklab(51.5% -0.0051 -0.1598)
OKLCHoklch(51.5% 0.16 268.2)
XYZxyz(15.9169, 13.0228, 52.7033)
Luminance0.1302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#415EC2 #C2A541
analogous
#419EC2 #415EC2 #6541C2
triadic
#415EC2 #C2415E #5EC241
tetradic
#415EC2 #C2419E #C2A541 #41C265
square
#415EC2 #C2419E #C2A541 #41C265
split-complementary
#415EC2 #C26541 #9EC241
monochromatic
#213167 #304796 #415EC2 #6F85D1 #9EADE0

Accessibility & contrast

On white

5.83
#415EC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#415EC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #415EC2
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##415EC2#FFFFFF#000000##FFFFFF
##415EC21.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#216BC6
Deuteranopia (green-blind)
#005FC0
Tritanopia (blue-blind)
#007687
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #415ec2;
/* rgb */ color: rgb(65, 94, 194);
/* oklch */ color: oklch(51.5% 0.160 268.2);
Tailwind
colors: {
  custom: {
    50: '#848bd5',
    500: '#415ec2',
    950: '#000000',
  },
}
SCSS
$custom: #415ec2;
$custom-light: #848bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#415ec2",
  "rgb": {
    "r": 65,
    "g": 94,
    "b": 194
  },
  "hsl": {
    "h": 226.512,
    "s": 51.394,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51502,
    "c": 0.15984,
    "h": 268.2
  },
  "luminance": 0.13024
}

Semantic roles & 50–950 ramp

primary
#415EC2
secondary
#CCBF93
accent
#BB4DDB
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #415EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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