#515EE1#515EE1

#515EE1 is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.8% C 0.197 H 273.6°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#515EE1
RGBrgb(81, 94, 225)
HSLhsl(235, 71%, 60%)
HSVhsv(235, 64%, 88%)
CMYKcmyk(64%, 58.2%, 0%, 11.8%)
CIE-LABlab(45.89, 35.41, -68.37)
CIE-LCHlch(45.89, 77.00, 297.38°)
OKLaboklab(54.76% 0.0125 -0.1968)
OKLCHoklch(54.76% 0.197 273.6)
XYZxyz(20.9821, 15.1892, 73.0456)
Luminance0.1519 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515EE1 #E1D451
analogous
#51A6E1 #515EE1 #8C51E1
triadic
#515EE1 #E1515E #5EE151
tetradic
#515EE1 #E151A6 #E1D451 #51E18C
square
#515EE1 #E151A6 #E1D451 #51E18C
split-complementary
#515EE1 #E18C51 #A6E151
monochromatic
#1B279D #2434D1 #515EE1 #858EEA #B9BFF3

Accessibility & contrast

On white

5.20
#515EE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#515EE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515EE1
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515EE1#FFFFFF#000000##FFFFFF
##515EE11.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E5
Deuteranopia (green-blind)
#0066DE
Tritanopia (blue-blind)
#007E96
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #515ee1;
/* rgb */ color: rgb(81, 94, 225);
/* oklch */ color: oklch(54.8% 0.197 273.6);
Tailwind
colors: {
  custom: {
    50: '#918beb',
    500: '#515ee1',
    950: '#000000',
  },
}
SCSS
$custom: #515ee1;
$custom-light: #918beb;
$custom-dark: #000000;
JSON
{
  "hex": "#515ee1",
  "rgb": {
    "r": 81,
    "g": 94,
    "b": 225
  },
  "hsl": {
    "h": 234.583,
    "s": 70.588,
    "l": 60
  },
  "oklch": {
    "l": 0.54756,
    "c": 0.19719,
    "h": 273.6
  },
  "luminance": 0.15191
}

Semantic roles & 50–950 ramp

primary
#515EE1
secondary
#E3DEAB
accent
#DD3AED
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #515EE1

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

Preview Lab → · Contrast checker → · Palette generator →

#515EE1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva