#515BF2#515BF2

#515BF2 is a mid, highly saturated blue. Relative luminance 0.156; OKLCH L 55.6% C 0.223 H 273.7°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#515BF2
RGBrgb(81, 91, 242)
HSLhsl(236, 86%, 63%)
HSVhsv(236, 67%, 95%)
CMYKcmyk(66.5%, 62.4%, 0%, 5.1%)
CIE-LABlab(46.50, 42.89, -76.96)
CIE-LCHlch(46.50, 88.11, 299.13°)
OKLaboklab(55.61% 0.0144 -0.222)
OKLCHoklch(55.61% 0.223 273.7)
XYZxyz(23.1561, 15.6402, 85.7857)
Luminance0.1564 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515BF2 #F2E851
analogous
#51ABF2 #515BF2 #9751F2
triadic
#515BF2 #F2515B #5BF251
tetradic
#515BF2 #F251AB #F2E851 #51F297
square
#515BF2 #F251AB #F2E851 #51F297
split-complementary
#515BF2 #F29751 #ABF251
monochromatic
#0E19BB #1825EE #515BF2 #8A91F6 #C3C6FB

Accessibility & contrast

On white

5.09
#515BF2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#515BF2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515BF2
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515BF2#FFFFFF#000000##FFFFFF
##515BF21.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F7
Deuteranopia (green-blind)
#0067EF
Tritanopia (blue-blind)
#00829E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #515bf2;
/* rgb */ color: rgb(81, 91, 242);
/* oklch */ color: oklch(55.6% 0.223 273.7);
Tailwind
colors: {
  custom: {
    50: '#9489f7',
    500: '#515bf2',
    950: '#000000',
  },
}
SCSS
$custom: #515bf2;
$custom-light: #9489f7;
$custom-dark: #000000;
JSON
{
  "hex": "#515bf2",
  "rgb": {
    "r": 81,
    "g": 91,
    "b": 242
  },
  "hsl": {
    "h": 236.273,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.55612,
    "c": 0.22251,
    "h": 273.7
  },
  "luminance": 0.15642
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #515BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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