#515CE1#515CE1

#515CE1 is a mid, vivid blue. Relative luminance 0.148; OKLCH L 54.4% C 0.200 H 274.1°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#515CE1
RGBrgb(81, 92, 225)
HSLhsl(235, 71%, 60%)
HSVhsv(235, 64%, 88%)
CMYKcmyk(64%, 59.1%, 0%, 11.8%)
CIE-LABlab(45.41, 36.64, -69.15)
CIE-LCHlch(45.41, 78.26, 297.91°)
OKLaboklab(54.4% 0.0142 -0.1991)
OKLCHoklch(54.4% 0.2 274.1)
XYZxyz(20.8066, 14.8381, 72.9871)
Luminance0.1484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515CE1 #E1D651
analogous
#51A4E1 #515CE1 #8E51E1
triadic
#515CE1 #E1515C #5CE151
tetradic
#515CE1 #E151A4 #E1D651 #51E18E
square
#515CE1 #E151A4 #E1D651 #51E18E
split-complementary
#515CE1 #E18E51 #A4E151
monochromatic
#1B259D #2431D1 #515CE1 #858DEA #B9BEF3

Accessibility & contrast

On white

5.29
#515CE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#515CE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515CE1
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515CE1#FFFFFF#000000##FFFFFF
##515CE11.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E5
Deuteranopia (green-blind)
#0065DE
Tritanopia (blue-blind)
#007D96
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #515ce1;
/* rgb */ color: rgb(81, 92, 225);
/* oklch */ color: oklch(54.4% 0.200 274.1);
Tailwind
colors: {
  custom: {
    50: '#918aeb',
    500: '#515ce1',
    950: '#000000',
  },
}
SCSS
$custom: #515ce1;
$custom-light: #918aeb;
$custom-dark: #000000;
JSON
{
  "hex": "#515ce1",
  "rgb": {
    "r": 81,
    "g": 92,
    "b": 225
  },
  "hsl": {
    "h": 235.417,
    "s": 70.588,
    "l": 60
  },
  "oklch": {
    "l": 0.544,
    "c": 0.19961,
    "h": 274.1
  },
  "luminance": 0.1484
}

Semantic roles & 50–950 ramp

primary
#515CE1
secondary
#E3DEAB
accent
#E03AED
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #515CE1

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

Preview Lab → · Contrast checker → · Palette generator →

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