#515DE4#515DE4

#515DE4 is a mid, highly saturated blue. Relative luminance 0.152; OKLCH L 54.8% C 0.202 H 273.8°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#515DE4
RGBrgb(81, 93, 228)
HSLhsl(235, 73%, 61%)
HSVhsv(235, 64%, 89%)
CMYKcmyk(64.5%, 59.2%, 0%, 10.6%)
CIE-LABlab(45.88, 37.03, -70.10)
CIE-LCHlch(45.88, 79.27, 297.84°)
OKLaboklab(54.81% 0.0133 -0.2019)
OKLCHoklch(54.81% 0.202 273.8)
XYZxyz(21.3066, 15.1776, 75.1905)
Luminance0.1518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515DE4 #E4D851
analogous
#51A6E4 #515DE4 #8E51E4
triadic
#515DE4 #E4515D #5DE451
tetradic
#515DE4 #E451A6 #E4D851 #51E48E
square
#515DE4 #E451A6 #E4D851 #51E48E
split-complementary
#515DE4 #E48E51 #A6E451
monochromatic
#1924A2 #2130D7 #515DE4 #868EEC #BBC0F4

Accessibility & contrast

On white

5.20
#515DE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#515DE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515DE4
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515DE4#FFFFFF#000000##FFFFFF
##515DE41.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E8
Deuteranopia (green-blind)
#0066E1
Tritanopia (blue-blind)
#007E98
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #515de4;
/* rgb */ color: rgb(81, 93, 228);
/* oklch */ color: oklch(54.8% 0.202 273.8);
Tailwind
colors: {
  custom: {
    50: '#918bed',
    500: '#515de4',
    950: '#000000',
  },
}
SCSS
$custom: #515de4;
$custom-light: #918bed;
$custom-dark: #000000;
JSON
{
  "hex": "#515de4",
  "rgb": {
    "r": 81,
    "g": 93,
    "b": 228
  },
  "hsl": {
    "h": 235.102,
    "s": 73.134,
    "l": 60.588
  },
  "oklch": {
    "l": 0.54814,
    "c": 0.20231,
    "h": 273.8
  },
  "luminance": 0.15179
}

Semantic roles & 50–950 ramp

primary
#515DE4
secondary
#E4E0AC
accent
#C510D5
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #515DE4

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

Preview Lab → · Contrast checker → · Palette generator →

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