#515AF2#515AF2

#515AF2 is a mid, highly saturated blue. Relative luminance 0.155; OKLCH L 55.4% C 0.224 H 273.9°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#515AF2
RGBrgb(81, 90, 242)
HSLhsl(237, 86%, 63%)
HSVhsv(237, 67%, 95%)
CMYKcmyk(66.5%, 62.8%, 0%, 5.1%)
CIE-LABlab(46.27, 43.49, -77.33)
CIE-LCHlch(46.27, 88.72, 299.35°)
OKLaboklab(55.45% 0.0151 -0.2231)
OKLCHoklch(55.45% 0.224 273.9)
XYZxyz(23.0712, 15.4704, 85.7574)
Luminance0.1547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515AF2 #F2E951
analogous
#51AAF2 #515AF2 #9851F2
triadic
#515AF2 #F2515A #5AF251
tetradic
#515AF2 #F251AA #F2E951 #51F298
square
#515AF2 #F251AA #F2E951 #51F298
split-complementary
#515AF2 #F29851 #AAF251
monochromatic
#0E18BB #1824EE #515AF2 #8A90F6 #C3C6FB

Accessibility & contrast

On white

5.13
#515AF2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#515AF2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515AF2
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515AF2#FFFFFF#000000##FFFFFF
##515AF21.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F7
Deuteranopia (green-blind)
#0066EF
Tritanopia (blue-blind)
#00819E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #515af2;
/* rgb */ color: rgb(81, 90, 242);
/* oklch */ color: oklch(55.4% 0.224 273.9);
Tailwind
colors: {
  custom: {
    50: '#9489f7',
    500: '#515af2',
    950: '#000000',
  },
}
SCSS
$custom: #515af2;
$custom-light: #9489f7;
$custom-dark: #000000;
JSON
{
  "hex": "#515af2",
  "rgb": {
    "r": 81,
    "g": 90,
    "b": 242
  },
  "hsl": {
    "h": 236.646,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.55445,
    "c": 0.22365,
    "h": 273.9
  },
  "luminance": 0.15472
}

Semantic roles & 50–950 ramp

primary
#515AF2
secondary
#ECE9B3
accent
#D603E3
background
#FAF8FF
surface
#F3F0FF
border
#CDCBD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #515AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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