#515EF2#515EF2

#515EF2 is a mid, highly saturated blue. Relative luminance 0.162; OKLCH L 56.1% C 0.219 H 273.2°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#515EF2
RGBrgb(81, 94, 242)
HSLhsl(235, 86%, 63%)
HSVhsv(235, 67%, 95%)
CMYKcmyk(66.5%, 61.2%, 0%, 5.1%)
CIE-LABlab(47.19, 41.09, -75.84)
CIE-LCHlch(47.19, 86.25, 298.45°)
OKLaboklab(56.12% 0.0121 -0.2187)
OKLCHoklch(56.12% 0.219 273.2)
XYZxyz(23.4177, 16.1634, 85.8729)
Luminance0.1617 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515EF2 #F2E551
analogous
#51AEF2 #515EF2 #9451F2
triadic
#515EF2 #F2515E #5EF251
tetradic
#515EF2 #F251AE #F2E551 #51F294
square
#515EF2 #F251AE #F2E551 #51F294
split-complementary
#515EF2 #F29451 #AEF251
monochromatic
#0E1CBB #1829EE #515EF2 #8A93F6 #C3C7FB

Accessibility & contrast

On white

4.96
#515EF2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#515EF2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515EF2
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515EF2#FFFFFF#000000##FFFFFF
##515EF21.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F7
Deuteranopia (green-blind)
#0069EF
Tritanopia (blue-blind)
#00839F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #515ef2;
/* rgb */ color: rgb(81, 94, 242);
/* oklch */ color: oklch(56.1% 0.219 273.2);
Tailwind
colors: {
  custom: {
    50: '#948bf7',
    500: '#515ef2',
    950: '#000000',
  },
}
SCSS
$custom: #515ef2;
$custom-light: #948bf7;
$custom-dark: #000000;
JSON
{
  "hex": "#515ef2",
  "rgb": {
    "r": 81,
    "g": 94,
    "b": 242
  },
  "hsl": {
    "h": 235.155,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.56118,
    "c": 0.21906,
    "h": 273.2
  },
  "luminance": 0.16166
}

Semantic roles & 50–950 ramp

primary
#515EF2
secondary
#ECE7B3
accent
#D103E3
background
#F9F8FF
surface
#F2F0FF
border
#CCCBD7
text
#0F0C17
muted
#7E7D85

Preview Lab

Preview with #515EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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