#515CE0#515CE0

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

Color values

HEX#515CE0
RGBrgb(81, 92, 224)
HSLhsl(235, 70%, 60%)
HSVhsv(235, 64%, 88%)
CMYKcmyk(63.8%, 58.9%, 0%, 12.2%)
CIE-LABlab(45.34, 36.30, -68.71)
CIE-LCHlch(45.34, 77.71, 297.85°)
OKLaboklab(54.32% 0.0142 -0.1978)
OKLCHoklch(54.32% 0.198 274.1)
XYZxyz(20.6706, 14.7837, 72.2708)
Luminance0.1479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515CE0 #E0D551
analogous
#51A3E0 #515CE0 #8E51E0
triadic
#515CE0 #E0515C #5CE051
tetradic
#515CE0 #E051A3 #E0D551 #51E08E
square
#515CE0 #E051A3 #E0D551 #51E08E
split-complementary
#515CE0 #E08E51 #A3E051
monochromatic
#1C259B #2532CF #515CE0 #858DE9 #B9BDF3

Accessibility & contrast

On white

5.31
#515CE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#515CE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515CE0
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515CE0#FFFFFF#000000##FFFFFF
##515CE01.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E4
Deuteranopia (green-blind)
#0065DD
Tritanopia (blue-blind)
#007C95
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #515ce0;
/* rgb */ color: rgb(81, 92, 224);
/* oklch */ color: oklch(54.3% 0.198 274.1);
Tailwind
colors: {
  custom: {
    50: '#918aeb',
    500: '#515ce0',
    950: '#000000',
  },
}
SCSS
$custom: #515ce0;
$custom-light: #918aeb;
$custom-dark: #000000;
JSON
{
  "hex": "#515ce0",
  "rgb": {
    "r": 81,
    "g": 92,
    "b": 224
  },
  "hsl": {
    "h": 235.385,
    "s": 69.756,
    "l": 59.804
  },
  "oklch": {
    "l": 0.5432,
    "c": 0.19831,
    "h": 274.1
  },
  "luminance": 0.14785
}

Semantic roles & 50–950 ramp

primary
#515CE0
secondary
#E2DEAB
accent
#DF3BED
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #515CE0

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

Preview Lab → · Contrast checker → · Palette generator →

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