#515EF0#515EF0

#515EF0 is a mid, highly saturated blue. Relative luminance 0.160; OKLCH L 56.0% C 0.217 H 273.2°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#515EF0
RGBrgb(81, 94, 240)
HSLhsl(235, 84%, 63%)
HSVhsv(235, 66%, 94%)
CMYKcmyk(66.3%, 60.8%, 0%, 5.9%)
CIE-LABlab(47.03, 40.42, -74.97)
CIE-LCHlch(47.03, 85.18, 298.33°)
OKLaboklab(55.96% 0.0122 -0.2162)
OKLCHoklch(55.96% 0.217 273.2)
XYZxyz(23.1190, 16.0439, 84.2996)
Luminance0.1605 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515EF0 #F0E351
analogous
#51AEF0 #515EF0 #9351F0
triadic
#515EF0 #F0515E #5EF051
tetradic
#515EF0 #F051AE #F0E351 #51F093
square
#515EF0 #F051AE #F0E351 #51F093
split-complementary
#515EF0 #F09351 #AEF051
monochromatic
#101DB7 #192AEB #515EF0 #8992F5 #C2C6FA

Accessibility & contrast

On white

4.99
#515EF0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#515EF0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515EF0
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515EF0#FFFFFF#000000##FFFFFF
##515EF01.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F5
Deuteranopia (green-blind)
#0068ED
Tritanopia (blue-blind)
#00839E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #515ef0;
/* rgb */ color: rgb(81, 94, 240);
/* oklch */ color: oklch(56.0% 0.217 273.2);
Tailwind
colors: {
  custom: {
    50: '#938bf6',
    500: '#515ef0',
    950: '#000000',
  },
}
SCSS
$custom: #515ef0;
$custom-light: #938bf6;
$custom-dark: #000000;
JSON
{
  "hex": "#515ef0",
  "rgb": {
    "r": 81,
    "g": 94,
    "b": 240
  },
  "hsl": {
    "h": 235.094,
    "s": 84.127,
    "l": 62.941
  },
  "oklch": {
    "l": 0.55955,
    "c": 0.21653,
    "h": 273.2
  },
  "luminance": 0.16046
}

Semantic roles & 50–950 ramp

primary
#515EF0
secondary
#EBE6B2
accent
#CF05E1
background
#F9F8FF
surface
#F2F0FF
border
#CCCBD7
text
#0F0C17
muted
#7E7D85

Preview Lab

Preview with #515EF0

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

Preview Lab → · Contrast checker → · Palette generator →

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