#515FF2#515FF2

#515FF2 is a mid, highly saturated blue. Relative luminance 0.163; OKLCH L 56.3% C 0.218 H 273.0°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#515FF2
RGBrgb(81, 95, 242)
HSLhsl(235, 86%, 63%)
HSVhsv(235, 67%, 95%)
CMYKcmyk(66.5%, 60.7%, 0%, 5.1%)
CIE-LABlab(47.42, 40.49, -75.46)
CIE-LCHlch(47.42, 85.63, 298.22°)
OKLaboklab(56.29% 0.0114 -0.2176)
OKLCHoklch(56.29% 0.218 273)
XYZxyz(23.5072, 16.3424, 85.9028)
Luminance0.1635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515FF2 #F2E451
analogous
#51AFF2 #515FF2 #9451F2
triadic
#515FF2 #F2515F #5FF251
tetradic
#515FF2 #F251AF #F2E451 #51F294
square
#515FF2 #F251AF #F2E451 #51F294
split-complementary
#515FF2 #F29451 #AFF251
monochromatic
#0E1DBB #182BEE #515FF2 #8A93F6 #C3C8FB

Accessibility & contrast

On white

4.92
#515FF2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#515FF2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515FF2
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515FF2#FFFFFF#000000##FFFFFF
##515FF21.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F7
Deuteranopia (green-blind)
#0069EF
Tritanopia (blue-blind)
#0084A0
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #515ff2;
/* rgb */ color: rgb(81, 95, 242);
/* oklch */ color: oklch(56.3% 0.218 273.0);
Tailwind
colors: {
  custom: {
    50: '#948cf7',
    500: '#515ff2',
    950: '#000000',
  },
}
SCSS
$custom: #515ff2;
$custom-light: #948cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#515ff2",
  "rgb": {
    "r": 81,
    "g": 95,
    "b": 242
  },
  "hsl": {
    "h": 234.783,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.56289,
    "c": 0.2179,
    "h": 273
  },
  "luminance": 0.16345
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #515FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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