#515DE2#515DE2

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

Color values

HEX#515DE2
RGBrgb(81, 93, 226)
HSLhsl(235, 71%, 60%)
HSVhsv(235, 64%, 89%)
CMYKcmyk(64.2%, 58.8%, 0%, 11.4%)
CIE-LABlab(45.73, 36.36, -69.21)
CIE-LCHlch(45.73, 78.18, 297.71°)
OKLaboklab(54.66% 0.0133 -0.1993)
OKLCHoklch(54.66% 0.2 273.8)
XYZxyz(21.0306, 15.0672, 73.7367)
Luminance0.1507 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515DE2 #E2D651
analogous
#51A6E2 #515DE2 #8D51E2
triadic
#515DE2 #E2515D #5DE251
tetradic
#515DE2 #E251A6 #E2D651 #51E28D
square
#515DE2 #E251A6 #E2D651 #51E28D
split-complementary
#515DE2 #E28D51 #A6E251
monochromatic
#1A259E #2332D3 #515DE2 #858EEB #BABFF3

Accessibility & contrast

On white

5.23
#515DE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#515DE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515DE2
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515DE2#FFFFFF#000000##FFFFFF
##515DE21.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #515de2;
/* rgb */ color: rgb(81, 93, 226);
/* oklch */ color: oklch(54.7% 0.200 273.8);
Tailwind
colors: {
  custom: {
    50: '#918bec',
    500: '#515de2',
    950: '#000000',
  },
}
SCSS
$custom: #515de2;
$custom-light: #918bec;
$custom-dark: #000000;
JSON
{
  "hex": "#515de2",
  "rgb": {
    "r": 81,
    "g": 93,
    "b": 226
  },
  "hsl": {
    "h": 235.034,
    "s": 71.429,
    "l": 60.196
  },
  "oklch": {
    "l": 0.54656,
    "c": 0.19971,
    "h": 273.8
  },
  "luminance": 0.15069
}

Semantic roles & 50–950 ramp

primary
#515DE2
secondary
#E3DFAC
accent
#C312D3
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #515DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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