#515DE6#515DE6

#515DE6 is a mid, highly saturated blue. Relative luminance 0.153; OKLCH L 55.0% C 0.205 H 273.7°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#515DE6
RGBrgb(81, 93, 230)
HSLhsl(235, 75%, 61%)
HSVhsv(235, 65%, 90%)
CMYKcmyk(64.8%, 59.6%, 0%, 9.8%)
CIE-LABlab(46.03, 37.70, -70.98)
CIE-LCHlch(46.03, 80.37, 297.97°)
OKLaboklab(54.97% 0.0133 -0.2045)
OKLCHoklch(54.97% 0.205 273.7)
XYZxyz(21.5859, 15.2893, 76.6611)
Luminance0.1529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515DE6 #E6DA51
analogous
#51A7E6 #515DE6 #8F51E6
triadic
#515DE6 #E6515D #5DE651
tetradic
#515DE6 #E651A7 #E6DA51 #51E68F
square
#515DE6 #E651A7 #E6DA51 #51E68F
split-complementary
#515DE6 #E68F51 #A7E651
monochromatic
#1823A5 #1F2EDA #515DE6 #878FEE #BCC1F5

Accessibility & contrast

On white

5.17
#515DE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#515DE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515DE6
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515DE6#FFFFFF#000000##FFFFFF
##515DE61.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074EB
Deuteranopia (green-blind)
#0066E3
Tritanopia (blue-blind)
#007F99
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #515de6;
/* rgb */ color: rgb(81, 93, 230);
/* oklch */ color: oklch(55.0% 0.205 273.7);
Tailwind
colors: {
  custom: {
    50: '#928bef',
    500: '#515de6',
    950: '#000000',
  },
}
SCSS
$custom: #515de6;
$custom-light: #928bef;
$custom-dark: #000000;
JSON
{
  "hex": "#515de6",
  "rgb": {
    "r": 81,
    "g": 93,
    "b": 230
  },
  "hsl": {
    "h": 235.168,
    "s": 74.874,
    "l": 60.98
  },
  "oklch": {
    "l": 0.54974,
    "c": 0.2049,
    "h": 273.7
  },
  "luminance": 0.15291
}

Semantic roles & 50–950 ramp

primary
#515DE6
secondary
#E5E1AD
accent
#C70ED7
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C17
muted
#7E7D85

Preview Lab

Preview with #515DE6

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

Preview Lab → · Contrast checker → · Palette generator →

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