#515EDC#515EDC

#515EDC is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.4% C 0.191 H 273.8°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#515EDC
RGBrgb(81, 94, 220)
HSLhsl(234, 67%, 59%)
HSVhsv(234, 63%, 86%)
CMYKcmyk(63.2%, 57.3%, 0%, 13.7%)
CIE-LABlab(45.52, 33.73, -66.13)
CIE-LCHlch(45.52, 74.24, 297.02°)
OKLaboklab(54.37% 0.0125 -0.1902)
OKLCHoklch(54.37% 0.191 273.8)
XYZxyz(20.3100, 14.9203, 69.5059)
Luminance0.1492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515EDC #DCCF51
analogous
#51A4DC #515EDC #8A51DC
triadic
#515EDC #DC515E #5EDC51
tetradic
#515EDC #DC51A4 #DCCF51 #51DC8A
square
#515EDC #DC51A4 #DCCF51 #51DC8A
split-complementary
#515EDC #DC8A51 #A4DC51
monochromatic
#1E2995 #2837C8 #515EDC #848DE6 #B7BCF0

Accessibility & contrast

On white

5.27
#515EDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#515EDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515EDC
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515EDC#FFFFFF#000000##FFFFFF
##515EDC1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E0
Deuteranopia (green-blind)
#0066D9
Tritanopia (blue-blind)
#007D94
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #515edc;
/* rgb */ color: rgb(81, 94, 220);
/* oklch */ color: oklch(54.4% 0.191 273.8);
Tailwind
colors: {
  custom: {
    50: '#908be8',
    500: '#515edc',
    950: '#000000',
  },
}
SCSS
$custom: #515edc;
$custom-light: #908be8;
$custom-dark: #000000;
JSON
{
  "hex": "#515edc",
  "rgb": {
    "r": 81,
    "g": 94,
    "b": 220
  },
  "hsl": {
    "h": 234.388,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.54367,
    "c": 0.19061,
    "h": 273.8
  },
  "luminance": 0.14922
}

Semantic roles & 50–950 ramp

primary
#515EDC
secondary
#E0DBA9
accent
#D93EE9
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #515EDC

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

Preview Lab → · Contrast checker → · Palette generator →

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