#515DE1#515DE1

#515DE1 is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.6% C 0.198 H 273.9°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#515DE1
RGBrgb(81, 93, 225)
HSLhsl(235, 71%, 60%)
HSVhsv(235, 64%, 88%)
CMYKcmyk(64%, 58.7%, 0%, 11.8%)
CIE-LABlab(45.65, 36.02, -68.76)
CIE-LCHlch(45.65, 77.63, 297.65°)
OKLaboklab(54.58% 0.0134 -0.1979)
OKLCHoklch(54.58% 0.198 273.9)
XYZxyz(20.8938, 15.0125, 73.0162)
Luminance0.1501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515DE1 #E1D551
analogous
#51A5E1 #515DE1 #8D51E1
triadic
#515DE1 #E1515D #5DE151
tetradic
#515DE1 #E151A5 #E1D551 #51E18D
square
#515DE1 #E151A5 #E1D551 #51E18D
split-complementary
#515DE1 #E18D51 #A5E151
monochromatic
#1B269D #2432D1 #515DE1 #858EEA #B9BEF3

Accessibility & contrast

On white

5.25
#515DE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#515DE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515DE1
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515DE1#FFFFFF#000000##FFFFFF
##515DE11.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E5
Deuteranopia (green-blind)
#0066DE
Tritanopia (blue-blind)
#007D96
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #515de1;
/* rgb */ color: rgb(81, 93, 225);
/* oklch */ color: oklch(54.6% 0.198 273.9);
Tailwind
colors: {
  custom: {
    50: '#918beb',
    500: '#515de1',
    950: '#000000',
  },
}
SCSS
$custom: #515de1;
$custom-light: #918beb;
$custom-dark: #000000;
JSON
{
  "hex": "#515de1",
  "rgb": {
    "r": 81,
    "g": 93,
    "b": 225
  },
  "hsl": {
    "h": 235,
    "s": 70.588,
    "l": 60
  },
  "oklch": {
    "l": 0.54577,
    "c": 0.1984,
    "h": 273.9
  },
  "luminance": 0.15014
}

Semantic roles & 50–950 ramp

primary
#515DE1
secondary
#E3DEAB
accent
#DE3AED
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #515DE1

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

Preview Lab → · Contrast checker → · Palette generator →

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