#515EE0#515EE0

#515EE0 is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.7% C 0.196 H 273.7°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#515EE0
RGBrgb(81, 94, 224)
HSLhsl(235, 70%, 60%)
HSVhsv(235, 64%, 88%)
CMYKcmyk(63.8%, 58%, 0%, 12.2%)
CIE-LABlab(45.82, 35.07, -67.92)
CIE-LCHlch(45.82, 76.45, 297.31°)
OKLaboklab(54.68% 0.0125 -0.1955)
OKLCHoklch(54.68% 0.196 273.7)
XYZxyz(20.8461, 15.1348, 72.3293)
Luminance0.1514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515EE0 #E0D351
analogous
#51A6E0 #515EE0 #8B51E0
triadic
#515EE0 #E0515E #5EE051
tetradic
#515EE0 #E051A6 #E0D351 #51E08B
square
#515EE0 #E051A6 #E0D351 #51E08B
split-complementary
#515EE0 #E08B51 #A6E051
monochromatic
#1C279B #2534CF #515EE0 #858EE9 #B9BEF3

Accessibility & contrast

On white

5.21
#515EE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#515EE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515EE0
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515EE0#FFFFFF#000000##FFFFFF
##515EE01.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E4
Deuteranopia (green-blind)
#0066DD
Tritanopia (blue-blind)
#007E96
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #515ee0;
/* rgb */ color: rgb(81, 94, 224);
/* oklch */ color: oklch(54.7% 0.196 273.7);
Tailwind
colors: {
  custom: {
    50: '#918beb',
    500: '#515ee0',
    950: '#000000',
  },
}
SCSS
$custom: #515ee0;
$custom-light: #918beb;
$custom-dark: #000000;
JSON
{
  "hex": "#515ee0",
  "rgb": {
    "r": 81,
    "g": 94,
    "b": 224
  },
  "hsl": {
    "h": 234.545,
    "s": 69.756,
    "l": 59.804
  },
  "oklch": {
    "l": 0.54678,
    "c": 0.19588,
    "h": 273.7
  },
  "luminance": 0.15137
}

Semantic roles & 50–950 ramp

primary
#515EE0
secondary
#E2DDAB
accent
#DC3BED
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #515EE0

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

Preview Lab → · Contrast checker → · Palette generator →

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